[arch-commits] Commit in grafx2/repos (6 files)
Anatol Pomozov
anatolik at archlinux.org
Sat May 9 22:58:59 UTC 2015
Date: Sunday, May 10, 2015 @ 00:58:59
Author: anatolik
Revision: 133149
archrelease: copy trunk to community-staging-x86_64, community-staging-i686
Added:
grafx2/repos/community-staging-i686/
grafx2/repos/community-staging-i686/PKGBUILD
(from rev 133148, grafx2/trunk/PKGBUILD)
grafx2/repos/community-staging-i686/grafx2.install
(from rev 133148, grafx2/trunk/grafx2.install)
grafx2/repos/community-staging-x86_64/
grafx2/repos/community-staging-x86_64/PKGBUILD
(from rev 133148, grafx2/trunk/PKGBUILD)
grafx2/repos/community-staging-x86_64/grafx2.install
(from rev 133148, grafx2/trunk/grafx2.install)
-----------------------------------------+
community-staging-i686/PKGBUILD | 39 ++++++++++++++++++++++++++++++
community-staging-i686/grafx2.install | 14 ++++++++++
community-staging-x86_64/PKGBUILD | 39 ++++++++++++++++++++++++++++++
community-staging-x86_64/grafx2.install | 14 ++++++++++
4 files changed, 106 insertions(+)
Copied: grafx2/repos/community-staging-i686/PKGBUILD (from rev 133148, grafx2/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-05-09 22:58:59 UTC (rev 133149)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Simon Parzer <simon.parzer at gmail.com>
+
+pkgname=grafx2
+pkgver=2.4
+pkgrel=7
+_pkgrev=2035
+pkgdesc='Pixelart-oriented painting program'
+arch=('x86_64' 'i686')
+url='http://pulkomandy.tk/projects/GrafX2'
+license=('GPL2')
+install="$pkgname.install"
+depends=('sdl_ttf' 'sdl_image' 'lua' 'desktop-file-utils' 'gtk-update-icon-cache')
+makedepends=('gendesk')
+options=('!emptydirs')
+source=("http://pulkomandy.tk/projects/GrafX2/downloads/$pkgname-$pkgver.$_pkgrev-src.tgz")
+sha256sums=('5818caea63cd3cf3318baf01dd20f81ec61e4514443000c80a41b68ab3f17a6b')
+
+prepare() {
+ gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name 'GrafX2' \
+ --genericname 'Drawing program' --exec 'grafx2 %U' \
+ --mimetypes 'image/bmp;image/gif;image/png;image/x-tga;image/tiff' \
+ --categories 'Graphics;2DGraphics;RasterGraphics'
+}
+
+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-staging-i686/grafx2.install (from rev 133148, grafx2/trunk/grafx2.install)
===================================================================
--- community-staging-i686/grafx2.install (rev 0)
+++ community-staging-i686/grafx2.install 2015-05-09 22:58:59 UTC (rev 133149)
@@ -0,0 +1,14 @@
+post_upgrade() {
+ gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_install() {
+ post_upgrade
+}
+
+post_remove() {
+ post_upgrade
+}
+
+# vim:set ts=2 sw=2 et:
Copied: grafx2/repos/community-staging-x86_64/PKGBUILD (from rev 133148, grafx2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-05-09 22:58:59 UTC (rev 133149)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Simon Parzer <simon.parzer at gmail.com>
+
+pkgname=grafx2
+pkgver=2.4
+pkgrel=7
+_pkgrev=2035
+pkgdesc='Pixelart-oriented painting program'
+arch=('x86_64' 'i686')
+url='http://pulkomandy.tk/projects/GrafX2'
+license=('GPL2')
+install="$pkgname.install"
+depends=('sdl_ttf' 'sdl_image' 'lua' 'desktop-file-utils' 'gtk-update-icon-cache')
+makedepends=('gendesk')
+options=('!emptydirs')
+source=("http://pulkomandy.tk/projects/GrafX2/downloads/$pkgname-$pkgver.$_pkgrev-src.tgz")
+sha256sums=('5818caea63cd3cf3318baf01dd20f81ec61e4514443000c80a41b68ab3f17a6b')
+
+prepare() {
+ gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name 'GrafX2' \
+ --genericname 'Drawing program' --exec 'grafx2 %U' \
+ --mimetypes 'image/bmp;image/gif;image/png;image/x-tga;image/tiff' \
+ --categories 'Graphics;2DGraphics;RasterGraphics'
+}
+
+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-staging-x86_64/grafx2.install (from rev 133148, grafx2/trunk/grafx2.install)
===================================================================
--- community-staging-x86_64/grafx2.install (rev 0)
+++ community-staging-x86_64/grafx2.install 2015-05-09 22:58:59 UTC (rev 133149)
@@ -0,0 +1,14 @@
+post_upgrade() {
+ gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_install() {
+ post_upgrade
+}
+
+post_remove() {
+ post_upgrade
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list