summaryrefslogtreecommitdiff
path: root/community/mashup/PKGBUILD
diff options
context:
space:
mode:
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
}