blob: 570224f57f5e04a00da6f4625f4f5d4369149e3f (
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
45
46
47
48
|
# Maintainer: jfperini <@jfperini>
# Contributor: jfperini <@jfperini>
pkgname=tbo-git
pkgver=1.0+r253.8d5c99b
pkgrel=1
pkgdesc="Gnome easy and fun comic editor"
arch=('any')
url="https://github.com/danigm/tbo"
license=('GPL')
makedepends=('gnome-common' 'git' 'intltool' 'automake' 'gcc')
depends=('gtk3' 'cairo' 'librsvg' 'git')
# conflicts=('')
# provides=('')
source=("$pkgname"::'git+https://github.com/danigm/tbo')
# Because the sources are not static, skip Git checksum:
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
# Use the tag of the last commit
printf "1.0+r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$pkgname"
msg2 " -> Build program..."
./autogen.sh --prefix=/usr
}
package() {
cd "$srcdir/$pkgname"
rm -rf {.git,.gitignore,CONTRIBUTORS,COPYING,CREDITS,LICENSE.txt,README.md}
msg2 " -> Installing program..."
make DESTDIR=$pkgdir install
}
# vim:set ts=2 sw=2 et:
|