diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/mashup |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/mashup')
-rw-r--r-- | community/mashup/PKGBUILD | 30 |
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 +} |