summaryrefslogtreecommitdiff
path: root/community/mashup/PKGBUILD
blob: cfd72dee238965c6f518e7ac5cbf348edd9f8b1a (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
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=mashup
pkgver=3.3
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=('0d8286747d5cd1a65907c7d70c7a99e5')

build() {
  cd $srcdir/$pkgname-$pkgver
  sed -i 's+xdg-deskto+#xdg-deskto+' 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
}