summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Bezerra2019-03-28 21:55:31 -0300
committerRodrigo Bezerra2019-03-28 21:55:31 -0300
commit1fb6bd624aad960e1db2d7651ad640a13db7ef84 (patch)
tree9c57c11b75d0d221f91b2f01c0a77adc9fcd7d27
parent6126722ae3021704d1483e7551093d7905917c10 (diff)
downloadaur-1fb6bd624aad960e1db2d7651ad640a13db7ef84.tar.gz
Update PKGBUILD
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD47
2 files changed, 29 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e60c5350dfe..a7805343be3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Sat Feb 17 15:27:14 UTC 2018
pkgbase = lib32-faad2
pkgdesc = ISO AAC audio decoder (32 bit)
pkgver = 2.8.8
- pkgrel = 1
+ pkgrel = 2
url = http://faac.sourceforge.net/
arch = x86_64
license = GPL
@@ -11,7 +9,7 @@ pkgbase = lib32-faad2
depends = faad2
options = !makeflags
source = http://downloads.sourceforge.net/sourceforge/faac/faad2-2.8.8.tar.gz
- md5sums = 28f6116efdbe9378269f8a6221767d1f
+ sha256sums = 985c3fadb9789d2815e50f4ff714511c79c2710ac27a4aaaf5c0c2662141426d
pkgname = lib32-faad2
diff --git a/PKGBUILD b/PKGBUILD
index 122ea563eee..2916e27240e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,33 +1,40 @@
-# Maintainer: GordonGR <ntheo1979@gmail.com>
+# Maintainer: Rodrigo Bezerra <rodrigobezerra21 at gmail dot com>
+# Contributor: GordonGR <ntheo1979@gmail.com>
# Contributor: josephgbr <rafael.f.f1 at gmail dot com>
# Contributor: escoand <passtschu at freenet.de>
-_pkgname=faad2
-pkgname=lib32-${_pkgname}
+_basename=faad2
+pkgname=lib32-faad2
pkgver=2.8.8
-pkgrel=1
+pkgrel=2
pkgdesc="ISO AAC audio decoder (32 bit)"
-arch=('x86_64')
+arch=(x86_64)
url="http://faac.sourceforge.net/"
-license=('GPL')
-depends=('lib32-glibc' ${_pkgname})
+license=(GPL)
+depends=(lib32-glibc faad2)
options=('!makeflags')
-source=("http://downloads.sourceforge.net/sourceforge/faac/${_pkgname}-${pkgver}.tar.gz")
-md5sums=('28f6116efdbe9378269f8a6221767d1f')
+source=("http://downloads.sourceforge.net/sourceforge/faac/${_basename}-${pkgver}.tar.gz")
+sha256sums=('985c3fadb9789d2815e50f4ff714511c79c2710ac27a4aaaf5c0c2662141426d')
build() {
-export CC='gcc -m32'
-export CXX='g++ -m32'
-export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
-cd ${_pkgname}-${pkgver}
-./configure --prefix=/usr --libdir=/usr/lib32
-make
+ cd ${_basename}-${pkgver}
+
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+ ./configure \
+ --build=i686-pc-linux-gnu \
+ --prefix=/usr \
+ --libdir=/usr/lib32
+
+ make
}
package() {
-cd ${_pkgname}-${pkgver}
-make DESTDIR="${pkgdir}" install
-rm -rf "${pkgdir}/usr"/{bin,include,share}
-cd ..
+ cd ${_basename}-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}/usr"/{bin,include,share}
}