# Maintainer: Adam Nielsen pkgname=adplug-git pkgver=2.3.3.63.g5498d47 pkgrel=1 pkgdesc="AdLib sound player library" arch=('i686' 'x86_64') url="http://adplug.github.io" license=('LGPL') depends=('libbinio') provides=('adplug') conflicts=('adplug') source=("git://github.com/adplug/adplug.git") md5sums=('SKIP') prepare() { cd "$srcdir/adplug" autoreconf --install } pkgver() { cd "$srcdir/adplug" git describe --tags |sed 's/^adplug-//g;s/^v//;s/-/./g' } build() { cd "$srcdir/adplug" ./configure --prefix=/usr make } package() { cd "$srcdir/adplug" make DESTDIR="$pkgdir" install }