blob: 221f916fc299d1c085a9c68bebf3ea5a83b81fc2 (
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
|
# Maintainer: sunplan
_pkgname=swf2pdf
pkgname=swf2pdf-git
pkgver=r6.cac7b45
pkgrel=2
pkgdesc='Converts swf files to pdf'
arch=('any')
url='https://github.com/faubi/swf2pdf'
license=('unknown')
depends=('swfdec-devel'
'cairo'
'glib2')
makedepends=('git'
'swfdec-devel'
'cairo'
'glib2')
provides=('swf2pdf')
conflicts=('swf2pdf')
source=(
"$pkgname::git+https://github.com/faubi/swf2pdf.git"
)
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$pkgname"
sed --in-place 's/swfdec-0.8/swfdec-0.9/g' Makefile
}
build() {
cd "$pkgname"
make
}
package() {
cd "$pkgname"
install -Dm755 $_pkgname $pkgdir/usr/bin/$_pkgname
install -Dm644 README.md $pkgdir/usr/share/doc/$_pkgname/README.md
}
|