summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Bezies2020-01-14 14:06:29 +0100
committerFrederic Bezies2020-01-14 14:06:29 +0100
commit239b9b9a5a3c81a3316a867fbeda0c35f7597324 (patch)
tree0ad7b80734ed1861eb0102458c8efa193297b6a0
parent4928cf3a9869db2bff47ee8a550ab20eefb34ba2 (diff)
downloadaur-239b9b9a5a3c81a3316a867fbeda0c35f7597324.tar.gz
Big cleanup based on TheCycoONE comment
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD19
-rw-r--r--gargoyle.install10
3 files changed, 8 insertions, 33 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cedb0c1cff66..8f693c9388e5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,31 +1,27 @@
pkgbase = gargoyle
pkgdesc = Interactive Fiction multi-interpreter that supports all major IF formats.
pkgver = 2019.1.1
- pkgrel = 1
+ pkgrel = 2
url = http://ccxvii.net/gargoyle/
- install = gargoyle.install
arch = i686
arch = x86_64
arch = armv6h
+ arch = aarch64
license = GPL
makedepends = ftjam
makedepends = pkgconfig
makedepends = desktop-file-utils
depends = gtk2
- depends = sdl2_mixer
- depends = sdl2
- depends = libvorbis
- depends = freetype2
+ depends = sdl_mixer
+ depends = sdl_sound
provides = gargoyle
conflicts = gargoyle-mod
replaces = gargoyle-mod
source = https://github.com/garglk/garglk/archive/2019.1.1.tar.gz
source = gargoyle.sh
- source = gargoyle.install
source = gargoyle.xml
sha512sums = 0d1f2724bd6227142eb67c146557a992a6d62af172398c9961511ce5c080e517d1e12ca9bc6be27c1893e404026256257bf3a04cb05923723c0886f111adc4e3
sha512sums = fbfd04e6d62e469b62263f1fb92b314e825784982be3be9f0e506fe6ff7d367704db907c88ec60fc492f35eaa3548fc3a65fd67d8c4c2be7e35ed87a6c9c3489
- sha512sums = 1fa602865745c1c9801178ee9b24be86215f2af4f9ee3f4f3b3c0606a87aba32a67c9c5343b481332c8fc97ff6c1a5e447f074d116c0cc5b255af35098096e6e
sha512sums = c9924abc48b6dc5025fb83c040a3bdd2a324302d67683645a4fd1d1f3bcfe92c58a9db71c1e41a26afe8a3144e1cdafbc060df2261d93ddac29a9144ae22db71
pkgname = gargoyle
diff --git a/PKGBUILD b/PKGBUILD
index 1448dbb5b0af..ab36ed645ce9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,14 +6,13 @@
pkgname=gargoyle
pkgver=2019.1.1
-pkgrel=1
+pkgrel=2
pkgdesc="Interactive Fiction multi-interpreter that supports all major IF formats."
-arch=('i686' 'x86_64' 'armv6h')
+arch=('i686' 'x86_64' 'armv6h' 'aarch64')
url="http://ccxvii.net/gargoyle/"
#alternative url="http://ccxvii.net/gargoyle/"
license=('GPL')
-depends=('gtk2' 'sdl2_mixer' 'sdl2' 'libvorbis' 'freetype2')
-#sdl_image ?
+depends=('gtk2' 'sdl_mixer' 'sdl_sound')
makedepends=('ftjam' 'pkgconfig' 'desktop-file-utils')
provides=('gargoyle')
conflicts=('gargoyle-mod')
@@ -22,22 +21,12 @@ replaces=('gargoyle-mod')
#groups=(inform)
source=("https://github.com/garglk/garglk/archive/${pkgver}.tar.gz" \
"gargoyle.sh" \
- "gargoyle.install" \
"gargoyle.xml")
-install=${pkgname}.install
+#install=${pkgname}.install
sha512sums=('0d1f2724bd6227142eb67c146557a992a6d62af172398c9961511ce5c080e517d1e12ca9bc6be27c1893e404026256257bf3a04cb05923723c0886f111adc4e3'
'fbfd04e6d62e469b62263f1fb92b314e825784982be3be9f0e506fe6ff7d367704db907c88ec60fc492f35eaa3548fc3a65fd67d8c4c2be7e35ed87a6c9c3489'
- '1fa602865745c1c9801178ee9b24be86215f2af4f9ee3f4f3b3c0606a87aba32a67c9c5343b481332c8fc97ff6c1a5e447f074d116c0cc5b255af35098096e6e'
'c9924abc48b6dc5025fb83c040a3bdd2a324302d67683645a4fd1d1f3bcfe92c58a9db71c1e41a26afe8a3144e1cdafbc060df2261d93ddac29a9144ae22db71')
-prepare() {
- cd "${srcdir}/garglk-${pkgver}"
- # Remove hardcoded optimisation and replace it with our CFLAGS
- sed -i 's|OPTIM = -O2 $(CFLAGS) ;|OPTIM = ${CFLAGS} -std=c++11 ;|' Jamrules
- # Required to build with gcc 5
- sed -i "s|SubDirCcFlags -DSMART_TOKENISER |SubDirCcFlags -fgnu89-inline -DSMART_TOKENISER |" terps/Jamfile
-}
-
build() {
cd "${srcdir}/garglk-${pkgver}"
jam
diff --git a/gargoyle.install b/gargoyle.install
deleted file mode 100644
index 2fa8b3794c80..000000000000
--- a/gargoyle.install
+++ /dev/null
@@ -1,10 +0,0 @@
-post_install() {
- update-mime-database usr/share/mime > /dev/null
- update-desktop-database -q
-}
-post_upgrade() {
- post_install
-}
-post_remove() {
- post_install
-}