blob: 3b33fb585dbebf968740289696e8ef784676e434 (
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
44
|
# AdPlug's UNIX console-based frontend
# Maintainer: Jerry Xiao <isjerryxiao at outlook dot com>
_pkgbase=adplay
_srcname=adplay-unix
pkgname=${_pkgbase}-git
pkgver=1.8.1.7.g95d47d7
pkgrel=2
epoch=1
pkgdesc="AdPlug's UNIX console-based frontend"
arch=('i686' 'x86_64')
url="https://github.com/adplug/adplay-unix"
license=('GPL')
makedepends=('git')
depends=('adplug')
provides=("$_pkgbase")
conflicts=("$_pkgbase")
source=(
"${_srcname}::git+https://github.com/adplug/adplay-unix.git#branch=master"
)
md5sums=(
'SKIP'
)
pkgver() {
cd "$srcdir/${_srcname}"
git describe --tags | sed 's/^v//;s/-/./g'
}
prepare() {
cd "$srcdir/${_srcname}"
autoreconf --install
}
build() {
cd "$srcdir/${_srcname}"
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/${_srcname}"
make DESTDIR="$pkgdir" install
}
|