summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6c5c97e1aa5b8cd173b64f3d5087bf8467ac4d72 (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
# Maintainer: Alisa Lain <al1-ce@null.net>

pkgname='pxv'
pkgver=2.1.3
pkgrel=1
pkgdesc='Instant feature rich terminal image viewer'
arch=('i686' 'x86_64')
url='https://github.com/al1-ce/pxv'
license=('MIT')
makedepends=('dub' 'ldc')
depends=('gcc-libs' 'glibc')
source=("$pkgname-$pkgver.tar.gz::https://github.com/al1-ce/pxv/archive/v$pkgver.tar.gz")
md5sums=('SKIP')
validpgpkeys=()

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    dub build -b release
}

package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    install -Dm755 "bin/$pkgname" "$pkgdir/usr/bin/$pkgname"
}