blob: e7c8bbd30ceddd6ca776f2b26040c7ccc5746f1d (
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
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=faac-git
pkgver=1.30.r6.g11215a2
pkgrel=2
pkgdesc="An MPEG-4 and MPEG-2 AAC encoder"
arch=('i686' 'x86_64')
url="https://faac.sourceforge.net/"
license=('GPL' 'BSD' 'custom')
depends=('glibc')
makedepends=('git')
provides=("faac=$pkgver")
conflicts=('faac')
source=("git+https://git.code.sf.net/p/faac/faac")
sha256sums=('SKIP')
pkgver() {
cd "faac"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/[-_]/./g'
}
build() {
cd "faac"
./bootstrap
./configure \
--prefix="/usr"
make
}
package() {
cd "faac"
make DESTDIR="$pkgdir" install
install -Dm644 "README" -t "$pkgdir/usr/share/licenses/faac"
install -Dm644 "libfaac/kiss_fft/COPYING" -t "$pkgdir/usr/share/licenses/faac"
}
|