# Contributor: John Regan # Maintainer: Laurent Bercot pkgname=skalibs pkgver=2.6.4.0 pkgrel=0 pkgdesc="A set of general-purpose C programming libraries for skarnet.org software" url="http://skarnet.org/software/skalibs/" arch="all" options="!check" # No test suite. license="ISC" subpackages="$pkgname-dev $pkgname-doc" source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz" build() { cd "$builddir" ./configure \ --enable-shared \ --enable-static \ --libdir=/usr/lib \ --enable-clock make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } dev() { default_dev mv "$pkgdir/usr/lib/$pkgname"/sysdeps/* \ "$subpkgdir/usr/lib/$pkgname"/sysdeps/ rm -rf "$pkgdir"/usr } doc() { default_doc mkdir -p "$subpkgdir/usr/share/doc" cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname" } sha512sums="19062853bd9df0dadeceaab96aca9d2a68d93aada7552d306902d1b13c55d421bbff7fd37dccaf1a81d66bbecf43ed2242961fdb7bd51ff22e9b6114c1b2bb77 skalibs-2.6.4.0.tar.gz"