blob: f728b3147add59bdcc7ffbebd23fea428e4b8312 (
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
|
# Maintainer: JSH <jsh 6 7 8 9 at gmail dot com>
pkgname=rasterview-git
pkgver=1.8.r14.g6e4e24c
pkgrel=1
epoch=1
pkgdesc="A CUPS, PWG, and Apple raster file viewer"
arch=('x86_64')
url="https://github.com/michaelrsweet/rasterview"
license=('APACHE')
depends=('fltk>=1.3')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("${pkgname%-git}::git+${url}")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//g'
}
build() {
cd "$srcdir/${pkgname%-git}"
autoreconf --force --install
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/${pkgname%-git}"
make DESTDIR="$pkgdir" install
}
|