summaryrefslogtreecommitdiff
path: root/community/mashup/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mashup/PKGBUILD')
-rw-r--r--community/mashup/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/mashup/PKGBUILD b/community/mashup/PKGBUILD
new file mode 100644
index 000000000..6428453bb
--- /dev/null
+++ b/community/mashup/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+
+pkgname=mashup
+pkgver=2.9
+pkgrel=1
+pkgdesc="Adjusting images on a sheet of paper for printing"
+url="http://kornelix.squarespace.com/printoxx"
+arch=('i686' 'x86_64')
+license=('GPL3')
+depends=('gtk2')
+replaces=('printoxx')
+source=("http://kornelix.squarespace.com/storage/downloads/$pkgname-$pkgver.tar.gz")
+md5sums=('dc4c02063d8f9fa4a6d4806aaa5a2b07')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ 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
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ install -Dm644 desktop \
+ $pkgdir/usr/share/applications/$pkgname.desktop
+ make DESTDIR=$pkgdir PREFIX=/usr install
+}