diff options
author | Adam Nielsen | 2016-04-30 15:20:50 +1000 |
---|---|---|
committer | Adam Nielsen | 2016-04-30 15:20:50 +1000 |
commit | b5c2fa5f8ed649bd974cf1a0328bd531138e4191 (patch) | |
tree | c7714fb96026c7cc6c8d71343436e4ae1cba9f3e | |
download | aur-b5c2fa5f8ed649bd974cf1a0328bd531138e4191.tar.gz |
Initial version
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 37 |
3 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..70a23aa2e956 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +# Generated by mksrcinfo v8 +# Sat Apr 30 05:19:35 UTC 2016 +pkgbase = adplug-git + pkgdesc = AdLib sound player library + pkgver = 20160430 + pkgrel = 1 + url = http://adplug.github.io + arch = i686 + arch = x86_64 + license = LGPL + depends = libbinio + provides = adplug + conflicts = adplug + source = git://github.com/adplug/adplug.git + md5sums = SKIP + +pkgname = adplug-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..c219e8eb39bb --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +adplug/ +src/ +pkg/ +*.pkg.tar.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cb157d30f4fb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Adam Nielsen <malvineous@shikadi.net> + +pkgname=adplug-git +pkgver=20160430 +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 -fis +} + +build() { + cd "$srcdir/adplug" + ./configure --prefix=/usr --enable-maintainer-mode + make +} + +check() { + cd "$srcdir/adplug" + make check +} + +package() { + cd "$srcdir/adplug" + make DESTDIR="$pkgdir" install + rm "$pkgdir/usr/share/info/dir" +} |