blob: c16e85062b8d1d9650670aef15d1f5dc5585a2d8 (
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: Vaporeon <vaporeon@vaporeon.io>
# Contributor: FallenWizard <fallenwizard@archlinux.us>
pkgname=tripcrunch-git
pkgver=r43.5880e46
pkgrel=1
pkgdesc="Tripcode generator intended for image boards"
arch=(x86_64)
url="https://github.com/tiikeri/tripcrunch"
license=('BSD')
makedepends=('git')
source=("git+https://github.com/tiikeri/tripcrunch.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}"/tripcrunch
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}"/tripcrunch
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}"/tripcrunch
make DESTDIR="${pkgdir}"/ install
install -Dm644 "${srcdir}"/tripcrunch/COPYING "${pkgdir}"/usr/share/licenses/"$pkgname"/COPYING
}
|