blob: f516876b4056abdb672cb7dd318be7e268eb218e (
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: Sam Stuewe <halosghost at archlinux dot info>
pkgname=libsixel-git
pkgver=r2708.e5a06ee
pkgrel=2
pkgdesc='A lightweight, fast implementation of DEC SIXEL graphics codec'
arch=('x86_64' 'i686')
url='https://github.com/saitoha/libsixel'
license=('MIT')
makedepends=('git')
depends=('curl' 'libjpeg-turbo' 'libpng')
provides=('libsixel')
conflicts=('libsixel')
source=("git+https://github.com/saitoha/libsixel")
sha256sums=(SKIP)
pkgver() {
cd "libsixel"
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "libsixel"
./configure --prefix=/usr
make
}
package() {
cd "libsixel"
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|