summaryrefslogtreecommitdiff
path: root/community/mashup/PKGBUILD
blob: e2245eca6ba5a5eb4e27c769b9068b9a907a684d (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
# 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' 'mips64el')
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
}