blob: a0d3fce6a845a577fecea9fe0cc177fbe72265fb (
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
|
# Maintainer: kleintux <reg-archlinux AT klein DOT tuxli DOT ch>
# Contributor: Brian Polier <unknown989@protonmail.com>
_pkgname=iv
pkgname="${_pkgname}-git"
pkgver=r84.625b9ff
pkgrel=2
pkgdesc="A simple yet powerful image viewer"
arch=('any')
url="https://github.com/unknown989/iv.git"
license=('GPL')
depends=('sfml' 'zenity')
makedepends=('git')
source=("git+$url")
md5sums=('SKIP')
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${_pkgname}"
make
}
package() {
cd "${srcdir}/${_pkgname}"
install -Dm755 "${_pkgname}" "${pkgdir}/usr/local/bin/${_pkgname}"
install -Dm644 "iv.desktop" "${pkgdir}/usr/local/applications/iv.desktop"
install -Dm644 "LICENSE" "${pkgdir}/usr/local/share/licenses/${_pkgname}/LICENSE"
}
|