summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorL.G. Sarmiento2019-03-27 10:37:17 +0100
committerL.G. Sarmiento2019-03-27 10:37:17 +0100
commitf5abd93801082b2f7407731095155384245607c2 (patch)
treea2fee9be60d94ec73f3ce157a5e3dc84674ed1c3
parent9f456a062976d97fbc7efc2531e5eed74553449b (diff)
downloadaur-f5abd93801082b2f7407731095155384245607c2.tar.gz
almost as per @andmars needs
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 5 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c615bcc62af6..31e69e8b9a04 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Mar 25 09:15:24 UTC 2019
+# Wed Mar 27 09:36:33 UTC 2019
pkgbase = scid
pkgdesc = A Free Chess Database Application
pkgver = 4.7.0
- pkgrel = 1
+ pkgrel = 2
url = http://scid.sourceforge.net
install = scid.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index ffa03f937d40..eac72c6a4e47 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=scid
_pkgname=Scid
pkgver=4.7.0
_pkgver=4.7
-pkgrel=1
+pkgrel=2
pkgdesc="A Free Chess Database Application"
url="http://scid.sourceforge.net"
arch=('x86_64' 'i686')
@@ -20,7 +20,8 @@ sha256sums=('2ed25781ec3c82d60fcee85259c19fd8934feae2547f9464304cdb01960f86da')
build() {
cd $srcdir/$pkgname
- ./configure BINDIR=/usr/bin SHAREDIR=/usr/share/$pkgname
+ ./configure BINDIR=/usr/bin SHAREDIR=/usr/share/$pkgname SCIDFLAGS="$LDFLAGS"
+ sed -i "/LDFLAGS =$/d" engines/phalanx-scid/makefile
make || return 1
}
@@ -51,11 +52,4 @@ EOF
msg "Fix world writtable bit in books folder"
find $pkgdir/usr/share/scid/books -type f -exec chmod 644 {} \;
-
- msg "Removing reference to '$pkgdir'"
- sed -i "s#$pkgdir##g" $pkgdir/usr/bin/$pkgname
-
- msg "Applying Polish language fix"
- sed -i 's/iso8859-1\ polish/iso8859-2\ polish/g' $pkgdir/usr/share/scid/tcl/language.tcl
-
}