[arch-commits] Commit in lib32-libtheora/trunk (PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun Mar 6 16:59:40 UTC 2022


    Date: Sunday, March 6, 2022 @ 16:59:40
  Author: foutrelis
Revision: 1142793

Git repo is gone, build from tarball

Modified:
  lib32-libtheora/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-06 16:49:45 UTC (rev 1142792)
+++ PKGBUILD	2022-03-06 16:59:40 UTC (rev 1142793)
@@ -18,11 +18,11 @@
   git
   lib32-libvorbis
 )
-source=(git+https://git.xiph.org/theora.git#tag=v${pkgver})
-sha256sums=(SKIP)
+source=(https://downloads.xiph.org/releases/theora/libtheora-${pkgver}.tar.bz2)
+sha256sums=('b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc')
 
 prepare() {
-  cd theora
+  cd libtheora-$pkgver
 
   sed 's/AC_DEFINE(\[OC_X86_64_ASM\]/#AC_DEFINE(\[OC_X86_64_ASM\]/
        s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' -i configure.ac
@@ -29,7 +29,7 @@
 }
 
 build() {
-  cd theora
+  cd libtheora-$pkgver
 
   export CC='gcc -m32'
   export CXX='g++ -m32'
@@ -45,7 +45,7 @@
 }
 
 package() {
-  cd theora
+  cd libtheora-$pkgver
 
   make DESTDIR="${pkgdir}" install
   rm -rf "${pkgdir}"/usr/{include,share}



More information about the arch-commits mailing list