PKGBUILD (580B)
1 2 pkgname="libixp-hg" 3 pkgver=131 4 pkgrel=1 5 pkgdesc="The latest hg pull of libixp, a simple 9P filesystem library" 6 url="http://libs.suckless.org/libixp" 7 license=(MIT) 8 arch=(i686 x86_64) 9 makedepends=(mercurial) 10 provides=(libixp) 11 conflicts=(libixp) 12 source=() 13 options=(!strip) 14 15 FORCE_VER=$(hg log -r . --template {rev}) 16 17 build() 18 { 19 cd $startdir 20 flags=(PREFIX=/usr \ 21 ETC=/etc \ 22 DESTDIR="$pkgdir") 23 24 make "${flags[@]}" || return 1 25 make "${flags[@]}" install || return 1 26 27 install -m644 -D ./LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE 28 } 29