41 lines
982 B
Text
41 lines
982 B
Text
# Maintainer: Eric Vidal <eric@obarun.org>
|
|
|
|
pkgname=skalibs
|
|
pkgver=2.11.0.0
|
|
pkgrel=1
|
|
pkgdesc="A general-purpose low-level C library"
|
|
arch=(x86_64)
|
|
url="http://www.skarnet.org/software/skalibs/"
|
|
license=('ISC')
|
|
groups=('base' 's6-suite')
|
|
makedepends=('git')
|
|
source=("$pkgname::git+git://git.skarnet.org/skalibs#tag=v${pkgver}")
|
|
#_commit=e99801ab4bdd096b5e2e3e4619f1a8317a8aedf8 # tag 2.8.0.0 fix stralloc_reverse
|
|
#source=("$pkgname::git+git://git.skarnet.org/skalibs#commit=$_commit")
|
|
|
|
md5sums=('SKIP')
|
|
|
|
#pkgver() {
|
|
# cd $pkgbase
|
|
# git describe --tags | sed 's/-/+/g'
|
|
#}
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname"
|
|
./configure --prefix=/usr \
|
|
--with-default-path=/usr/bin \
|
|
--disable-shared
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname"
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
# add doc
|
|
install -dm 0755 $pkgdir/usr/share/doc/$pkgname/
|
|
cp -R doc/* $pkgdir/usr/share/doc/$pkgname/
|
|
|
|
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
|
|
}
|
|
|