summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Nielsen2016-04-30 15:20:50 +1000
committerAdam Nielsen2016-04-30 15:20:50 +1000
commitb5c2fa5f8ed649bd974cf1a0328bd531138e4191 (patch)
treec7714fb96026c7cc6c8d71343436e4ae1cba9f3e
downloadaur-b5c2fa5f8ed649bd974cf1a0328bd531138e4191.tar.gz
Initial version
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD37
3 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..70a23aa2e95
--- /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 00000000000..c219e8eb39b
--- /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 00000000000..cb157d30f4f
--- /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"
+}