blob: d6faf2d80c02e001392d77bf9ff43c8a9278d2ec (
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
|
# Contributor: Joshua Taillon <jat255 AT gmail DOT com>
# Maintainer: deneb <deneb@screee.ee>
pkgname=imgcat-git
pkgver=2.6.0.r281.2ff5475
pkgrel=2
pkgdesc="It's like cat, but for images"
arch=('x86_64' 'i686' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/eddieantonio/imgcat"
license=('ISC')
depends=('ncurses' 'libjpeg' 'libpng>=1.0.0' 'termcap')
makedepends=('cimg' 'git')
source=("git+https://github.com/eddieantonio/${pkgname%-git}.git")
md5sums=('SKIP')
pkgver() {
cd ${pkgname%-git}
printf "%s.r%s.%s" "$(cat VERSION)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd ${pkgname%-git}
./configure --prefix=/usr
make PREFIX=/usr
}
package() {
cd ${pkgname%-git}
make install PREFIX="$pkgdir"/usr
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|