summaryrefslogtreecommitdiff
path: root/community/mashup
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-03 23:14:38 +0000
committerroot <root@rshg054.dnsready.net>2011-09-03 23:14:38 +0000
commit3b18be1752c9fd9fa74eb1314ca97dd61e9ce912 (patch)
tree695198e2351a85f6c3a8fe7ba53ba5e4a4ec2bdd /community/mashup
parentb37ee9de1a430956d9e5958ebd9d7e0dbfc79327 (diff)
Sat Sep 3 23:14:38 UTC 2011
Diffstat (limited to 'community/mashup')
-rw-r--r--community/mashup/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/community/mashup/PKGBUILD b/community/mashup/PKGBUILD
index 6428453bb..51d32eadb 100644
--- a/community/mashup/PKGBUILD
+++ b/community/mashup/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=mashup
-pkgver=2.9
+pkgver=3.0
pkgrel=1
pkgdesc="Adjusting images on a sheet of paper for printing"
url="http://kornelix.squarespace.com/printoxx"
@@ -11,20 +11,22 @@ license=('GPL3')
depends=('gtk2')
replaces=('printoxx')
source=("http://kornelix.squarespace.com/storage/downloads/$pkgname-$pkgver.tar.gz")
-md5sums=('dc4c02063d8f9fa4a6d4806aaa5a2b07')
+md5sums=('feb7f5557fce1a00c377d2c6b8a9e2fc')
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##' desktop
- sed -i 's+# ++' desktop
+ sed -i 's#/local##' data/desktop
+ sed -i 's+# ++' data/desktop
}
package() {
cd $srcdir/$pkgname-$pkgver
- install -Dm644 desktop \
+ install -Dm644 data/desktop \
$pkgdir/usr/share/applications/$pkgname.desktop
make DESTDIR=$pkgdir PREFIX=/usr install
+ rm $pkgdir/usr/share/applications/kornelix-$pkgname.desktop
}