summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a58bfb3122bcf0266835a35c1a5f4c13d3651fd0 (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
# Maintainer: Luigi Operoso <brokenpip3[at]gmail[dot]com>
pkgname=lsix-git
_pkgname=lsix
pkgver=1.8.r7.g698f5a0
pkgrel=1
pkgdesc="Like ls but for images, shows thumbnails in terminal using sixel graphics"
arch=('any')
url="https://github.com/hackerb9/lsix"
license=('GPL3')
conflicts=('lsix')
provides=('lsix')
depends=('imagemagick')
makedepends=('git')
source=("git+https://github.com/hackerb9/lsix")
sha256sums=('SKIP')

pkgver() {
    cd "${srcdir}/${_pkgname}"
        git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package () {
    cd "${_pkgname}"
        install -Dm755 lsix "${pkgdir}/usr/bin/${_pkgname}"
        install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}