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..c17c47e0a
--- /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=3.7.1
+pkgrel=1
+pkgdesc="Adjusting images on a sheet of paper for printing"
+url="http://kornelix.com/$pkgname"
+arch=('i686' 'x86_64')
+license=('GPL3')
+depends=('gtk3')
+replaces=('printoxx')
+source=("http://www.kornelix.com/uploads/1/3/0/3/13035936/$pkgname-$pkgver.tar.gz")
+md5sums=('e93e38fb831b01a30bf90684ea4e44c9')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ sed -i 's+xdg-deskto+#xdg-deskto+' Makefile
+ sed -i 's/--libs gtk+-3.0/--libs gtk+-3.0 gthread-2.0/' Makefile
+ make PREFIX=/usr
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ 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
+}
+