db-move: moved linux-zen from [testing] to [extra] (x86_64)
[arch-packages.git] / psiconv / trunk / PKGBUILD
blob3dd413b8b5152df62520545c41b1d01223b72054
1 # Maintainer:
2 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
5 pkgname=psiconv
6 pkgver=0.9.9
7 pkgrel=8
8 pkgdesc="Converts Psion 5(MX) files to more commonly used file formats"
9 arch=('x86_64')
10 url="http://software.frodo.looijaard.name/psiconv/"
11 license=('GPL')
12 depends=('graphicsmagick')
13 makedepends=('bc')
14 backup=('etc/psiconv/psiconv.conf')
15 source=("http://www.frodo.looijaard.name/system/files/software/${pkgname}/${pkgname}-${pkgver}.tar.gz" psiconv.patch)
16 md5sums=('286e427b10f4d10aaeef1944210a2ea6'
17          'SKIP')
18 sha512sums=('ec21d1e4734ad79dc19146223d7016bd53b3a3bb602f3a55489663ccbf3a4c6f5c6417728e798b4448acc2e49ff5145f58c812edfdd6c11ee9060128b6157d3a'
19             'SKIP')
21 prepare() {
22   cd $pkgname-$pkgver
23   sed -e 's|Magick-config|GraphicsMagick-config|g' -i configure.in
24   autoreconf -vi
26   patch -p1 <"$srcdir"/psiconv.patch
29 build() {
30   cd ${pkgname}-${pkgver}
31   ./configure --prefix=/usr \
32               --sysconfdir=/etc \
33               --mandir=/usr/share/man
34   make
37 package() {
38   cd ${pkgname}-${pkgver}
39   make DESTDIR="${pkgdir}" install