Name libxaw
Description X11 Athena Widget library
Version 1.0.16-1
Package Base libxaw
Homepage https://gitlab.freedesktop.org/xorg/lib/libxaw
Maintainers ['Andreas Radke <andyrtr@archlinux.org>', 'AndyRTR <andyrtr@archlinux.org>']
Contributors ['Jan de Groot <jgc@archlinux.org>']
Distro-repo https://gitlab.archlinux.org/archlinux/packaging/packages/libxaw
Sources ['https://xorg.freedesktop.org//releases/individual/lib/libXaw-1.0.16.tar.xz', 'https://xorg.freedesktop.org//releases/individual/lib/libXaw-1.0.16.tar.xz.sig']
Dependencies ['glibc', 'libx11', 'libxext', 'libxmu', 'libxpm', 'libxt', 'xorgproto']
Optional-Dependencies []
Build-Dependencies ['xorg-util-macros']
Provides []
Builddate 11-03-2024 07:32:38
Architecture x86_64
Distro-Version
Licenses ['HPND', 'HPND-sell-variant', 'MIT-open-group', 'NTP', 'SMLNJ', 'X11']
Hash 3adcee413146c84ea613c41fb2aac69639bfc3ca61a09b6308c19dc19cf8ea6e
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>

pkgname=libxaw
pkgver=1.0.16
pkgrel=1
pkgdesc="X11 Athena Widget library"
arch=('x86_64')
license=('MIT-open-group'
         'X11'
         'HPND'
         'HPND-sell-variant'
         'SMLNJ'
         'NTP')
url="https://gitlab.freedesktop.org/xorg/lib/libxaw"
depends=('libxmu' 'libxpm' 'libx11' 'libxt' 'libxext' 'xorgproto' 'glibc')
makedepends=('xorg-util-macros')
source=(https://xorg.freedesktop.org//releases/individual/lib/libXaw-${pkgver}.tar.xz{,.sig})
sha512sums=('1cabad1a9b06dec7de601b977e844536823ee1a0045244acc42ca6b6107da9b4953736d94898a96cab40845eab77dae21e20e1fa66a3dfc4dedf575dfbca04aa'
            'SKIP')
#validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') #Alan Coopersmith <alan.coopersmith@oracle.com>
#validpgpkeys+=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner <mattst88@gmail.com>"
validpgpkeys=('19882D92DDA4C400C22C0D56CC2AF4472167BE03') # "Thomas E. Dickey (self-signed w/o SHA1) <dickey@invisible-island.net>"

build() {
  cd libXaw-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc --disable-static
  make
}

package() {
  cd libXaw-${pkgver}
  make DESTDIR="${pkgdir}" install

  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}