summaryrefslogtreecommitdiff
path: root/community/mtpaint
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-07 17:33:04 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-07 17:33:04 -0300
commit2302f1d28510fadb2dcfa119f28ed28f164845bf (patch)
treee7040e1c743f46bc60a7844275516e4404f6ac30 /community/mtpaint
parent2a9d1292ab60e8a2356fb3eeb36b8c3cfc22759b (diff)
parent5442e9b8f357932ed5d6cb46e90fcbf6f453469f (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/fotoxx/PKGBUILD community/gtkdialog/PKGBUILD community/hubbub/PKGBUILD community/libgdamm/PKGBUILD community/libparserutils/PKGBUILD community/mingw32-binutils/PKGBUILD community/mingw32-gcc-base/PKGBUILD community/mingw32-gcc/PKGBUILD community/mtpaint/PKGBUILD community/netsurf/PKGBUILD community/patchage/PKGBUILD community/qgo/PKGBUILD community/tomoyo-tools/PKGBUILD community/tre/PKGBUILD community/virtualbox/PKGBUILD core/net-tools/PKGBUILD core/openldap/PKGBUILD extra/epiphany/PKGBUILD extra/evince/PKGBUILD extra/evolution-data-server/PKGBUILD extra/evolution/PKGBUILD extra/exiv2/PKGBUILD extra/folks/PKGBUILD extra/gimp-ufraw/PKGBUILD extra/gnome-control-center/PKGBUILD extra/gnome-power-manager/PKGBUILD extra/gnome-python-desktop/PKGBUILD extra/gnome-python-extras/PKGBUILD extra/gvfs/PKGBUILD extra/jack/PKGBUILD extra/kdelibs/PKGBUILD extra/kdepim/PKGBUILD extra/koffice/PKGBUILD extra/libreoffice/PKGBUILD extra/libwebkit/PKGBUILD extra/mutter/PKGBUILD extra/nautilus/PKGBUILD extra/openmpi/PKGBUILD extra/pavucontrol/PKGBUILD extra/php/PKGBUILD extra/pidgin/PKGBUILD extra/postgresql/PKGBUILD extra/pulseaudio/PKGBUILD extra/pygobject2/PKGBUILD extra/swt/PKGBUILD extra/tomcat/PKGBUILD extra/totem/PKGBUILD extra/vigra/PKGBUILD extra/vte/PKGBUILD extra/xulrunner/PKGBUILD kde-unstable/calligra/PKGBUILD kde-unstable/kdebase-workspace/PKGBUILD multilib/lib32-atk/PKGBUILD multilib/lib32-gdk-pixbuf2/PKGBUILD multilib/lib32-glew/PKGBUILD multilib/lib32-glib2/PKGBUILD multilib/lib32-jack/PKGBUILD multilib/lib32-libpulse/PKGBUILD multilib/lib32-pango/PKGBUILD multilib/wine/PKGBUILD social/miniupnpc/PKGBUILD testing/icedtea-web-java7/PKGBUILD testing/sqlite3/PKGBUILD ~xihh/abiword/PKGBUILD
Diffstat (limited to 'community/mtpaint')
-rw-r--r--community/mtpaint/PKGBUILD30
-rw-r--r--community/mtpaint/mtpaint.install14
2 files changed, 32 insertions, 12 deletions
diff --git a/community/mtpaint/PKGBUILD b/community/mtpaint/PKGBUILD
index 80660733e..ed0246873 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."
+pkgrel=6
+pkgdesc="A simple GTK2 painting program designed for creating icons and pixel based artwork"
arch=('i686' 'x86_64' 'mips64el')
-url="http://mtpaint.sourceforge.net"
-license=('GPL')
-depends=('gtk2' 'giflib' 'openjpeg')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2
- libpng14.patch)
+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: