blob: 320b6154b008158bf28da670447a27dedf8926af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Adam Nielsen <malvineous@shikadi.net>
pkgname=adplug-git
pkgver=0
pkgrel=2
epoch=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+https://github.com/adplug/adplug.git")
md5sums=('SKIP')
prepare() {
cd "$srcdir/adplug"
autoreconf -fis
}
pkgver() {
cd "$srcdir/adplug"
git describe --tags | sed 's/^adplug-//g; s/^v//; s/-/./g'
}
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"
}
|