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

Alexander Rødseth arodseth at archlinux.org
Sat May 12 11:53:35 UTC 2018


    Date: Saturday, May 12, 2018 @ 11:53:34
  Author: arodseth
Revision: 321036

upgpkg: grafx2 2.5-1

Modified:
  grafx2/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-12 11:52:04 UTC (rev 321035)
+++ PKGBUILD	2018-05-12 11:53:34 UTC (rev 321036)
@@ -10,7 +10,7 @@
 url='https://gitlab.com/GrafX2/grafx2'
 license=('GPL2')
 depends=('lua' 'fontconfig' 'sdl_image' 'sdl_ttf')
-makedepends=('gendesk' 'git' 'setconf')
+makedepends=('gendesk' 'git')
 options=('!emptydirs')
 source=("git+https://gitlab.com/GrafX2/grafX2.git#tag=v$pkgver"
         'https://sourceforge.net/projects/recoil/files/recoil/4.2.0/recoil-4.2.0.tar.gz')
@@ -27,20 +27,18 @@
     --categories 'Graphics;2DGraphics;RasterGraphics'
 
   mv grafX2 "$pkgname"
-
   sed 's/-liconv//g' -i "$pkgname/src/Makefile"
-  setconf grafx2/3rdparty/Makefile GETURL="echo NO"
   mkdir -p grafx2/3rdparty/archives
-  cp -vu recoil-4.2.0.tar.gz grafx2/3rdparty/archives/recoil-4.2.0.tar.gz
+  cp -u recoil-4.2.0.tar.gz grafx2/3rdparty/archives/recoil-4.2.0.tar.gz
 }
 
 build() {
-  CFLAGS="$CFLAGS -w" make -C "$pkgname/src" PREFIX='/usr'
+  CFLAGS="$CFLAGS -w" make -s -C "$pkgname/src" PREFIX=/usr
 }
 
 package() {
   install -d "$pkgdir/usr/share/grafx2/scripts/samples_2.4/picture/"{thomson/lib,others-8bit/lib}
-  CFLAGS="$CFLAGS -w" make -C "$pkgname/src" prefix='/usr' DESTDIR="$pkgdir" install
+  CFLAGS="$CFLAGS -w" make -s -C "$pkgname/src" prefix=/usr DESTDIR="$pkgdir" install
   install -Dm644 "$pkgname.desktop" \
     "$pkgdir/usr/share/applications/$pkgname.desktop"
   install -Dm644 "$pkgname/doc/README.txt" \



More information about the arch-commits mailing list