36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=libxaw
|
|
_openbsdver=6.9
|
|
pkgver=1.0.13
|
|
pkgrel=3
|
|
pkgdesc="X11 Athena Widget library, provided by Xenocara"
|
|
arch=('i686' 'x86_64')
|
|
license=('X11')
|
|
url="https://www.xenocara.org"
|
|
depends=('libxmu' 'libxpm')
|
|
makedepends=('xenocara-util-macros')
|
|
source=(https://repo.hyperbola.info:50000/sources/xenocara-libre/$_openbsdver/lib/libxaw-$pkgver.tar.lz{,.sig})
|
|
sha512sums=('2f992f0d96f1082e4b0bacddc0e6f8a8a94a4bc90847ab4b5b7660a7906fae0265e0c712ed3e835b055660ab2fa327e125a7390158fee5fab0bf659f367475bf'
|
|
'SKIP')
|
|
validpgpkeys=('C92BAA713B8D53D3CAE63FC9E6974752F9704456') # André Silva
|
|
|
|
prepare() {
|
|
cd "xenocara-$_openbsdver/lib/libXaw"
|
|
autoreconf -vfi
|
|
}
|
|
|
|
build() {
|
|
cd "xenocara-$_openbsdver/lib/libXaw"
|
|
./configure --prefix=/usr --sysconfdir=/etc --disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "xenocara-$_openbsdver/lib/libXaw"
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
ln -sf libXaw7.so "$pkgdir/usr/lib/libXaw.so"
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
|
}
|