summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Bezerra2019-11-25 22:02:25 -0300
committerRodrigo Bezerra2019-11-25 22:02:25 -0300
commit561370ada1c1f0e1f8e4950cf715f3302497e546 (patch)
tree5015ca575b4480bfed90d397970ceba931a74a8f
parent1fb6bd624aad960e1db2d7651ad640a13db7ef84 (diff)
downloadaur-lib32-faad2.tar.gz
Update to version 2.9.1
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD28
2 files changed, 24 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a7805343be3..ba39e4fab90 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = lib32-faad2
pkgdesc = ISO AAC audio decoder (32 bit)
- pkgver = 2.8.8
- pkgrel = 2
- url = http://faac.sourceforge.net/
+ pkgver = 2.9.1
+ pkgrel = 1
+ url = https://github.com/knik0/faad2
arch = x86_64
- license = GPL
+ license = GPL2
depends = lib32-glibc
depends = faad2
options = !makeflags
- source = http://downloads.sourceforge.net/sourceforge/faac/faad2-2.8.8.tar.gz
- sha256sums = 985c3fadb9789d2815e50f4ff714511c79c2710ac27a4aaaf5c0c2662141426d
+ source = faad2-2.9.1.tar.gz::https://github.com/knik0/faad2/archive/2_9_1.tar.gz
+ sha256sums = 7fa33cff76abdda5a220ca5de0b2e05a77354f3b97f735193c2940224898aa9a
pkgname = lib32-faad2
diff --git a/PKGBUILD b/PKGBUILD
index 2916e27240e..fb328ace204 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,19 +5,27 @@
_basename=faad2
pkgname=lib32-faad2
-pkgver=2.8.8
-pkgrel=2
+pkgver=2.9.1
+pkgrel=1
pkgdesc="ISO AAC audio decoder (32 bit)"
-arch=(x86_64)
-url="http://faac.sourceforge.net/"
-license=(GPL)
-depends=(lib32-glibc faad2)
+arch=('x86_64')
+url="https://github.com/knik0/faad2"
+license=('GPL2')
+depends=('lib32-glibc' 'faad2')
options=('!makeflags')
-source=("http://downloads.sourceforge.net/sourceforge/faac/${_basename}-${pkgver}.tar.gz")
-sha256sums=('985c3fadb9789d2815e50f4ff714511c79c2710ac27a4aaaf5c0c2662141426d')
+source=($_basename-$pkgver.tar.gz::https://github.com/knik0/faad2/archive/${pkgver//./_}.tar.gz)
+sha256sums=('7fa33cff76abdda5a220ca5de0b2e05a77354f3b97f735193c2940224898aa9a')
+
+prepare() {
+ mv -v "${_basename}-${pkgver//./_}" "${_basename}-${pkgver}"
+
+ cd "${_basename}-${pkgver}"
+
+ autoreconf -vfi
+}
build() {
- cd ${_basename}-${pkgver}
+ cd "${_basename}-${pkgver}"
export CC='gcc -m32'
export CXX='g++ -m32'
@@ -32,7 +40,7 @@ build() {
}
package() {
- cd ${_basename}-${pkgver}
+ cd "${_basename}-${pkgver}"
make DESTDIR="${pkgdir}" install