diff options
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 19 insertions, 17 deletions
@@ -1,18 +1,21 @@ pkgbase = lib32-schroedinger pkgdesc = An implemenation of the Dirac video codec in ANSI C code (32 bit) pkgver = 1.0.11 - pkgrel = 3 + pkgrel = 4 url = https://launchpad.net/schroedinger/ arch = x86_64 license = GPL2 license = LGPL2.1 license = MPL license = MIT - depends = lib32-orc depends = lib32-gcc-libs + depends = lib32-orc depends = schroedinger - source = http://launchpad.net/schroedinger/trunk/1.0.11/+download//schroedinger-1.0.11.tar.gz + source = https://launchpad.net/schroedinger/trunk/1.0.11/+download//schroedinger-1.0.11.tar.gz + source = https://launchpad.net/schroedinger/trunk/1.0.11/+download//schroedinger-1.0.11.tar.gz.asc + validpgpkeys = 9456AFC0814A8139E99483517FE6B095B582B0D4 sha256sums = 1e572a0735b92aca5746c4528f9bebd35aa0ccf8619b22fa2756137a8cc9f912 + sha256sums = SKIP pkgname = lib32-schroedinger @@ -1,46 +1,45 @@ -# Maintainer : Daniel Bermond < yahoo-com: danielbermond > +# Maintainer : Daniel Bermond < gmail-com: danielbermond > # Contributor: Johannes Dewender <arch@JonnyJD.net> # Contributor: josephgbr <rafael.f.f1@gmail.com> _pkgbasename=schroedinger pkgname=lib32-"$_pkgbasename" pkgver=1.0.11 -pkgrel=3 +pkgrel=4 pkgdesc='An implemenation of the Dirac video codec in ANSI C code (32 bit)' arch=('x86_64') url='https://launchpad.net/schroedinger/' license=('GPL2' 'LGPL2.1' 'MPL' 'MIT') -depends=('lib32-orc' 'lib32-gcc-libs' "$_pkgbasename") -source=("http://launchpad.net/${_pkgbasename}/trunk/${pkgver}/+download//${_pkgbasename}-${pkgver}.tar.gz") -sha256sums=('1e572a0735b92aca5746c4528f9bebd35aa0ccf8619b22fa2756137a8cc9f912') +depends=('lib32-gcc-libs' 'lib32-orc' "$_pkgbasename") +source=("https://launchpad.net/schroedinger/trunk/${pkgver}/+download//${_pkgbasename}-${pkgver}.tar.gz"{,.asc}) +validpgpkeys=('9456AFC0814A8139E99483517FE6B095B582B0D4') # Timothy Gu +sha256sums=('1e572a0735b92aca5746c4528f9bebd35aa0ccf8619b22fa2756137a8cc9f912' + 'SKIP') build() { + cd "${_pkgbasename}-${pkgver}" + export CC='gcc -m32' export CXX='g++ -m32' export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' - cd "${_pkgbasename}-${pkgver}" - ./configure \ --prefix='/usr' \ --libdir='/usr/lib32' \ --enable-shared='yes' \ - --enable-static='no' \ - --enable-fast-install \ - --enable-largefile \ --enable-encoder \ --enable-motion-ref \ --with-thread='auto' - + make } package() { cd "${_pkgbasename}-${pkgver}" - make DESTDIR="${pkgdir}" install + make DESTDIR="$pkgdir" install - rm -rf "${pkgdir}"/usr/{include,share} + rm -r "$pkgdir"/usr/{include,share} - install -D -m644 COPYING.MIT "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.MIT" + install -D -m644 COPYING.MIT -t "${pkgdir}/usr/share/licenses/${pkgname}" } |