archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libfreeaptx / trunk / PKGBUILD
blob8b36f8255aa826024782577c89f0719c33798015
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=libfreeaptx
4 pkgver=0.1.1
5 pkgrel=1
6 pkgdesc="Open Source aptX codec library"
7 url="https://github.com/iamthehorker/libfreeaptx"
8 arch=(x86_64)
9 license=(LGPL)
10 depends=(glibc)
11 makedepends=(git)
12 provides=(libfreeaptx.so)
13 _commit=0485c73bc12f1f860d892bb7166730b3412395bd  # tags/0.1.1^0
14 source=("git+$url#commit=$_commit")
15 sha256sums=('SKIP')
17 pkgver() {
18   cd $pkgname
19   git describe --tags | sed 's/-/+/g'
22 prepare() {
23   cd $pkgname
26 _make() {
27   make CPPFLAGS="$CPPFLAGS" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" \
28     PREFIX=/usr "$@"
31 build() {
32   cd $pkgname
33   _make
36 package() {
37   cd $pkgname
38   _make DESTDIR="$pkgdir" install