summaryrefslogtreecommitdiff
path: root/community/mtpaint
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-04 23:14:30 +0000
committerroot <root@rshg054.dnsready.net>2011-10-04 23:14:30 +0000
commit3567a49f79d2dbf828b723ab54982fa6c7ea1c80 (patch)
tree15fc309d3681df4da7a56189050fd5aa16fa9794 /community/mtpaint
parent57d05f7209f022aa99a8850aafbeec4cb85c3b5b (diff)
Tue Oct 4 23:14:30 UTC 2011
Diffstat (limited to 'community/mtpaint')
-rw-r--r--community/mtpaint/PKGBUILD32
-rw-r--r--community/mtpaint/mtpaint.install14
2 files changed, 33 insertions, 13 deletions
diff --git a/community/mtpaint/PKGBUILD b/community/mtpaint/PKGBUILD
index bebd0c820..12a07818c 100644
--- a/community/mtpaint/PKGBUILD
+++ b/community/mtpaint/PKGBUILD
@@ -1,21 +1,22 @@
-# $Id: PKGBUILD 55362 2011-09-10 10:56:06Z pschmitz $
-# Maintainer:
+# $Id: PKGBUILD 56207 2011-10-03 12:32:35Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Roman Kyrylych <roman@archlinux.org>
# Contributor: yosh64 <yosh64.at.gmail.dot.com>
-
-
pkgname=mtpaint
pkgver=3.31
-pkgrel=5
-pkgdesc="A simple GTK2 painting program designed for creating icons and pixel based artwork."
-arch=('i686' 'x86_64')
-url="http://mtpaint.sourceforge.net"
-license=('GPL')
-depends=('gtk2' 'giflib' 'openjpeg')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
- libpng14.patch)
+pkgrel=6
+pkgdesc="A simple GTK2 painting program designed for creating icons and pixel based artwork"
+arch=('x86_64' 'i686')
+url="http://mtpaint.sourceforge.net/"
+license=('GPL3')
+depends=('gtk2' 'giflib' 'openjpeg' 'bzip2' 'desktop-file-utils' 'glib2' 'freetype2')
+install=mtpaint.install
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
+ "libpng14.patch"
+ "mtpaint.install")
md5sums=('fbe34eb25f96b6092403115f1f6ab387'
- 'f84245ae1e26bd734740306b09024bb8')
+ 'f84245ae1e26bd734740306b09024bb8'
+ '1bd546a8efeae01e8fd8a5c7f213012e')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
@@ -29,4 +30,9 @@ package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
+ install -Dm644 COPYING \
+ "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
+
+# vim:set ts=2 sw=2 et:
+
diff --git a/community/mtpaint/mtpaint.install b/community/mtpaint/mtpaint.install
new file mode 100644
index 000000000..b44de11aa
--- /dev/null
+++ b/community/mtpaint/mtpaint.install
@@ -0,0 +1,14 @@
+post_install() {
+ post_upgrade
+}
+
+post_upgrade() {
+ echo "Updating desktop database"
+ update-desktop-database -q
+}
+
+post_remove() {
+ post_upgrade
+}
+
+# vim:set ts=2 sw=2 et: