blob: 34c88ce9379e9988e10dd6029254d4fa1ec8d543 (
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
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=fdkaac-git
pkgver=1.0.5.r6.gf95566e
pkgrel=1
pkgdesc="Command line encoder frontend for libfdk-aac"
arch=('i686' 'x86_64')
url="https://github.com/nu774/fdkaac"
license=('custom')
depends=('glibc' 'libfdk-aac')
makedepends=('git')
provides=("fdkaac=$pkgver")
conflicts=('fdkaac')
source=("git+https://github.com/nu774/fdkaac.git")
sha256sums=('SKIP')
pkgver() {
cd "fdkaac"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "fdkaac"
autoreconf -fi
./configure \
--prefix="/usr"
make
}
check() {
cd "fdkaac"
make check
}
package() {
cd "fdkaac"
make DESTDIR="$pkgdir" install
install -Dm644 "COPYING" -t "$pkgdir/usr/share/licenses/fdkaac"
}
|