summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD28
2 files changed, 24 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a7805343be3..fa1e7d098aa 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.2
+ 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.2.tar.gz::https://github.com/knik0/faad2/archive/2_9_2.tar.gz
+ sha256sums = 9728b2b94f94ab49363cd229e7377fbe6ef3c311c5cd80da662d53ddb0ee091d
pkgname = lib32-faad2
diff --git a/PKGBUILD b/PKGBUILD
index 2916e27240e..c35e0c685dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,19 +5,27 @@
_basename=faad2
pkgname=lib32-faad2
-pkgver=2.8.8
-pkgrel=2
+pkgver=2.9.2
+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=('9728b2b94f94ab49363cd229e7377fbe6ef3c311c5cd80da662d53ddb0ee091d')
+
+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