summaryrefslogtreecommitdiff
path: root/community/mashup/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-26 23:15:38 +0000
committerroot <root@rshg054.dnsready.net>2011-10-26 23:15:38 +0000
commit84fe155e2233db86fcc13134d8802ba1dab0ae83 (patch)
treeef0f4e11745d4bf9e45ee5fa553dd4b13d6c3407 /community/mashup/PKGBUILD
parentd03e905f54857600b3c36af9b221c34ccb11074f (diff)
Wed Oct 26 23:15:38 UTC 2011
Diffstat (limited to 'community/mashup/PKGBUILD')
-rw-r--r--community/mashup/PKGBUILD16
1 files changed, 6 insertions, 10 deletions
diff --git a/community/mashup/PKGBUILD b/community/mashup/PKGBUILD
index 6ebe4ff88..33eb36008 100644
--- a/community/mashup/PKGBUILD
+++ b/community/mashup/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=mashup
-pkgver=3.1
+pkgver=3.2
pkgrel=1
pkgdesc="Adjusting images on a sheet of paper for printing"
url="http://kornelix.squarespace.com/$pkgname"
@@ -11,22 +11,18 @@ license=('GPL3')
depends=('gtk2')
replaces=('printoxx')
source=("http://kornelix.squarespace.com/storage/downloads/$pkgname-$pkgver.tar.gz")
-md5sums=('f6a5afb0a5d410934cbbf4303b3b8a9b')
+md5sums=('517555734dac1d9298f4c36e91b9e122')
build() {
cd $srcdir/$pkgname-$pkgver
sed -i 's+xdg-deskto+#xdg-deskto+' Makefile
- make PREFIX=/usr \
- CFLAGS+="-c `pkg-config --cflags gtk+-2.0`" \
- LFLAGS+="`pkg-config --libs gtk+-2.0 gthread-2.0`"
- sed -i 's#/local##' data/desktop
- sed -i 's+# ++' data/desktop
+ make PREFIX=/usr
}
package() {
cd $srcdir/$pkgname-$pkgver
- install -Dm644 data/desktop \
- $pkgdir/usr/share/applications/$pkgname.desktop
- make DESTDIR=$pkgdir PREFIX=/usr install
+ install -Dm644 desktop $pkgdir/usr/share/applications/$pkgname.desktop
+ make DESTDIR=$pkgdir install
rm $pkgdir/usr/share/applications/kornelix-$pkgname.desktop
+ rm $pkgdir/usr/share/doc/$pkgname/$pkgname.man
}