blob: e0fdfef40f9bc4e2a458c33a013af94c67ceefe9 (
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
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=fig2dev-git
pkgver=3.2.9.r9.ga22a904
pkgrel=1
pkgdesc="Format conversion utility that can be used with xfig"
arch=('i686' 'x86_64')
url="https://mcj.sourceforge.net/"
license=('Xfig')
depends=('glibc' 'ghostscript' 'libpng' 'netpbm' 'zlib')
makedepends=('git')
provides=("fig2dev=$pkgver" 'transfig')
conflicts=('fig2dev' 'transfig')
source=("git+https://git.code.sf.net/p/mcj/fig2dev")
sha256sums=('SKIP')
pkgver() {
cd "fig2dev"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "fig2dev"
autoreconf -fi
./configure \
--prefix="/usr" \
--enable-transfig
make
}
check() {
cd "fig2dev"
make check
}
package() {
cd "fig2dev"
make DESTDIR="$pkgdir" install
}
|