[arch-commits] Commit in grafx2/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sat May 12 11:49:41 UTC 2018
Date: Saturday, May 12, 2018 @ 11:49:40
Author: arodseth
Revision: 321033
archrelease: copy trunk to community-x86_64
Added:
grafx2/repos/community-x86_64/PKGBUILD
(from rev 321032, grafx2/trunk/PKGBUILD)
Deleted:
grafx2/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 93 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 50 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-12 11:49:27 UTC (rev 321032)
+++ PKGBUILD 2018-05-12 11:49:40 UTC (rev 321033)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Simon Parzer <simon.parzer at gmail.com>
-
-pkgname=grafx2
-pkgver=2.4
-pkgrel=10
-pkgdesc='Pixelart-oriented painting program'
-arch=('x86_64' 'i686')
-url='https://gitlab.com/GrafX2/grafx2'
-license=('GPL2')
-depends=('lua' 'fontconfig' 'sdl_image' 'sdl_ttf')
-makedepends=('gendesk' 'git')
-options=('!emptydirs')
-source=("git+https://gitlab.com/GrafX2/grafX2.git#commit=cf56a349")
-sha256sums=('SKIP')
-
-prepare() {
- gendesk -f -n \
- --pkgname "$pkgname" \
- --pkgdesc "$pkgdesc" \
- --name 'GrafX2' \
- --genericname 'Drawing program' --exec 'grafx2 %f' \
- --mimetypes 'image/bmp;image/gif;image/png;image/x-tga;image/tiff' \
- --categories 'Graphics;2DGraphics;RasterGraphics'
-
- ln -sf "grafX2" "$pkgname"
- sed 's/-liconv//g' -i "$pkgname/src/Makefile"
-}
-
-build() {
- make -C "$pkgname/src"
-}
-
-package() {
- make -C "$pkgname/src" prefix=/usr DESTDIR="$pkgdir" install
- install -Dm644 "$pkgname.desktop" \
- "$pkgdir/usr/share/applications/$pkgname.desktop"
- install -Dm644 "$pkgname/doc/README.txt" \
- "$pkgdir/usr/share/doc/$pkgname/readme.txt"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: grafx2/repos/community-x86_64/PKGBUILD (from rev 321032, grafx2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-12 11:49:40 UTC (rev 321033)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Simon Parzer <simon.parzer at gmail.com>
+
+pkgname=grafx2
+pkgver=2.5
+pkgrel=1
+pkgdesc='Pixelart-oriented painting program'
+arch=('x86_64')
+url='https://gitlab.com/GrafX2/grafx2'
+license=('GPL2')
+depends=('lua' 'fontconfig' 'sdl_image' 'sdl_ttf')
+makedepends=('gendesk' 'git' 'setconf')
+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')
+sha256sums=('SKIP'
+ '4e8c8e3048b143654da49cc1187a0b26679c9f97f841edc0ba9e0b2e2e7f18e5')
+
+prepare() {
+ gendesk -f -n \
+ --pkgname "$pkgname" \
+ --pkgdesc "$pkgdesc" \
+ --name 'GrafX2' \
+ --genericname 'Drawing program' --exec 'grafx2 %f' \
+ --mimetypes 'image/bmp;image/gif;image/png;image/x-tga;image/tiff' \
+ --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
+}
+
+build() {
+ CFLAGS="$CFLAGS -w" make -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
+ install -Dm644 "$pkgname.desktop" \
+ "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 "$pkgname/doc/README.txt" \
+ "$pkgdir/usr/share/doc/$pkgname/readme.txt"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list