diff options
author | Michel Zou | 2018-05-30 18:34:41 +0200 |
---|---|---|
committer | Michel Zou | 2018-05-30 18:34:41 +0200 |
commit | fe21f18e7949dacccf887f4a49ffcd869770f61d (patch) | |
tree | 8e570f49c827c9175901a0e1915631eccea623fd | |
parent | 14a211f8f077b5885db639bf8855d0c4c0effed6 (diff) | |
download | aur-fe21f18e7949dacccf887f4a49ffcd869770f61d.tar.gz |
1.3.3
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 16 insertions, 15 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Wed May 30 16:31:36 UTC 2018 +# Wed May 30 16:34:41 UTC 2018 pkgbase = mingw-w64-libogg pkgdesc = Ogg bitstream and framing library (mingw-w64) - pkgver = 1.3.2 + pkgver = 1.3.3 pkgrel = 1 url = http://xiph.org arch = any @@ -12,8 +12,8 @@ pkgbase = mingw-w64-libogg options = staticlibs options = !strip options = !buildflags - source = http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.gz - md5sums = b72e1a1dbadff3248e4ed62a4177e937 + source = http://downloads.xiph.org/releases/ogg/libogg-1.3.3.tar.gz + sha256sums = c2e8a485110b97550f453226ec644ebac6cb29d1caef2902c007edab4308d985 pkgname = mingw-w64-libogg @@ -1,7 +1,7 @@ # Contributor: naelstrof <naelstrof@gmail.com> pkgname=mingw-w64-libogg -pkgver=1.3.2 +pkgver=1.3.3 pkgrel=1 pkgdesc="Ogg bitstream and framing library (mingw-w64)" arch=(any) @@ -11,25 +11,26 @@ makedepends=('mingw-w64-configure') depends=('mingw-w64-crt') options=('staticlibs' '!strip' '!buildflags') source=(http://downloads.xiph.org/releases/ogg/libogg-${pkgver}.tar.gz) -md5sums=('b72e1a1dbadff3248e4ed62a4177e937') +sha256sums=('c2e8a485110b97550f453226ec644ebac6cb29d1caef2902c007edab4308d985') _architectures="i686-w64-mingw32 x86_64-w64-mingw32" build() { + cd "${srcdir}"/libogg-${pkgver} for _arch in ${_architectures}; do - mkdir -p ${srcdir}/libogg-${pkgver}/${_arch} - cd ${srcdir}/libogg-${pkgver}/${_arch} - ${_arch}-configure - make + mkdir -p build-${_arch} && pushd build-${_arch} + ${_arch}-configure + make + popd done } package() { for _arch in ${_architectures}; do - cd ${srcdir}/libogg-${pkgver}/${_arch} - make DESTDIR="$pkgdir" install - rm -r $pkgdir/usr/${_arch}/share/doc - ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll - ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a + cd "${srcdir}"/libogg-${pkgver}/build-${_arch} + make DESTDIR="$pkgdir" install + rm -r $pkgdir/usr/${_arch}/share/doc + ${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll + ${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a done } |