blob: 6ebe4ff889899fa07f5700a4ee19f67045408209 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=mashup
pkgver=3.1
pkgrel=1
pkgdesc="Adjusting images on a sheet of paper for printing"
url="http://kornelix.squarespace.com/$pkgname"
arch=('i686' 'x86_64')
license=('GPL3')
depends=('gtk2')
replaces=('printoxx')
source=("http://kornelix.squarespace.com/storage/downloads/$pkgname-$pkgver.tar.gz")
md5sums=('f6a5afb0a5d410934cbbf4303b3b8a9b')
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
}
package() {
cd $srcdir/$pkgname-$pkgver
install -Dm644 data/desktop \
$pkgdir/usr/share/applications/$pkgname.desktop
make DESTDIR=$pkgdir PREFIX=/usr install
rm $pkgdir/usr/share/applications/kornelix-$pkgname.desktop
}
|