upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / jp2a / trunk / PKGBUILD
blob950145192ec14946be0a6a17394f4f2aa4514542
1 # Maintainer: Morten Linderud <foxboron@archlinux.org>
3 pkgname='jp2a'
4 pkgver=1.1.1
5 pkgrel=1
6 pkgdesc='A small utility for converting JPG images to ASCII'
7 arch=('x86_64')
8 url='https://github.com/Talinx/jp2a/'
9 license=('GPL2')
10 depends=('curl' 'libjpeg' 'libpng')
11 makedepends=('doxygen' 'autoconf-archive' 'git')
12 _commit=9ed01d6aa57c5b63657abe5c76cd28935206084c        #refs/tags/v1.1.0
13 source=("git+https://github.com/Talinx/jp2a.git#commit=${_commit}?signed")
14 validpgpkeys=("5FCAE86E581E73AD91CB3235E7DBBCF6B02920CC") # Christoph Raitzig
15 sha256sums=('SKIP')
17 prepare(){
18   cd "${pkgname}"
19   autoreconf -vi
22 build(){
23   cd "${pkgname}"
24   bashcompdir=/usr/share/bash-completion/completions ./configure --prefix='/usr'
25   make
28 check() {
29   cd "${pkgname}"
30   make check
33 package(){
34   cd "${pkgname}"
35   make DESTDIR="${pkgdir}" install