summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Bezerra2019-11-15 18:06:21 -0300
committerRodrigo Bezerra2019-11-15 18:06:21 -0300
commit33a3bcb4b3a714f156f647f05b0691c54806bba0 (patch)
tree0df32051c5985bd3487c2abf7af339b3bfe8aae8
parentf18da1809a2b8c00729f7157d1b8d524db0aebb1 (diff)
downloadaur-33a3bcb4b3a714f156f647f05b0691c54806bba0.tar.gz
Fix building in a clean environment
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c176a9e12e37..875860980186 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = lib32-libkate
pkgdesc = A karaoke and text codec for embedding in ogg (32-bit)
pkgver = 0.4.1
- pkgrel = 3
+ pkgrel = 4
url = https://wiki.xiph.org/OggKate
arch = x86_64
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index e85a43bfeae8..e21e6d90b7f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
_basename=libkate
pkgname="lib32-$_basename"
pkgver=0.4.1
-pkgrel=3
+pkgrel=4
pkgdesc="A karaoke and text codec for embedding in ogg (32-bit)"
url="https://wiki.xiph.org/OggKate"
license=('BSD')
@@ -30,6 +30,7 @@ build() {
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+ export PYTHON="/usr/bin/python2"
./configure \
--build=i686-pc-linux-gnu \
@@ -44,7 +45,7 @@ build() {
package() {
cd $_basename
- make DESTDIR=$pkgdir install
+ make DESTDIR=$pkgdir PYTHON=/usr/bin/python2 install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"