[arch-commits] Commit in libfdk-aac/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Thu Nov 10 14:08:39 UTC 2016
Date: Thursday, November 10, 2016 @ 14:08:38
Author: alucryd
Revision: 195289
FS#51769: libfdk-aac 0.1.4.r88.5fd7e65-1
Modified:
libfdk-aac/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-11-10 12:18:20 UTC (rev 195288)
+++ PKGBUILD 2016-11-10 14:08:38 UTC (rev 195289)
@@ -4,20 +4,29 @@
# Contributor: DrZaius <lou[at]fakeoutdoorsman[dot]com>
pkgname=libfdk-aac
-pkgver=0.1.4
-pkgrel=2
+pkgver=0.1.4.r88.5fd7e65
+pkgrel=1
pkgdesc='Fraunhofer FDK AAC codec library'
arch=('i686' 'x86_64')
url='http://sourceforge.net/projects/opencore-amr/'
license=('custom')
depends=('glibc')
+makedepends=('git')
provides=('libfdk-aac.so')
-source=("http://downloads.sourceforge.net/opencore-amr/fdk-aac-${pkgver}.tar.gz")
-sha256sums=('5910fe788677ca13532e3f47b7afaa01d72334d46a2d5e1d1f080f1173ff15ab')
+_commit='5fd7e6537d1f37fb1bec8c6aa2f8e22030ab10de'
+source=("git+https://github.com/mstorsjo/fdk-aac.git#commit=${_commit}")
+sha256sums=('SKIP')
+pkgver() {
+ cd fdk-aac
+
+ git describe | sed 's/^v//; s/-/.r/; s/-g/./'
+}
+
build() {
- cd fdk-aac-${pkgver}
+ cd fdk-aac
+ ./autogen.sh
./configure \
--prefix='/usr' \
--disable-static
@@ -25,7 +34,7 @@
}
package () {
- cd fdk-aac-${pkgver}
+ cd fdk-aac
make DESTDIR="${pkgdir}" install
More information about the arch-commits
mailing list