blob: ac6a46f5e3849d1db27d72a1016705b571e9804b (
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
49
50
|
# Maintainer: Jokler <jokler.contact@gmail.com>
# Contributor: Morten Linderud <foxboron@archlinux.org>
pkgname='jp2a-git'
_gitname='jp2a'
pkgver=v1.3.1.r0.g95bcfa0
pkgrel=1
pkgdesc='A small utility for converting JPG images to ASCII'
arch=('i686' 'x86_64' 'armv7h')
url='https://github.com/Talinx/jp2a'
provides=('jp2a')
conflicts=('jp2a')
license=('GPL')
depends=(
'curl'
'glibc'
'libexif'
'libjpeg-turbo'
'libpng'
'libwebp'
'ncurses'
)
makedepends=('git')
source=('git+https://github.com/Talinx/jp2a#branch=develop')
sha256sums=(SKIP)
pkgver() {
cd "$srcdir/jp2a"
git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "${_gitname}"
autoreconf -vi
}
build() {
cd "${_gitname}"
bashcompdir=/usr/share/bash-completion/completions ./configure --prefix='/usr'
make
}
check() {
cd "${_gitname}"
make check
}
package() {
cd "${_gitname}"
make DESTDIR="${pkgdir}" install
}
|