blob: 09e9da788b9c00d70ae048880e469e47cd3c14ae (
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
33
34
|
# Maintainer: Manuel Palenzuela <sadshinobi@protonmail.com>
author=Baitinq
pkgname=osxiv-git
_gitname=osxiv
pkgver=0.r1.c622573
pkgrel=1
pkgdesc='Overly Simple X Image Viewer'
url='https://github.com/Baitinq/osxiv.git'
arch=('any')
license=('GPL')
depends=()
makedepends=('git' 'sdl2' 'sdl2_image')
provides=('osxiv')
source=("git+https://github.com/$author/$_gitname.git")
md5sums=('SKIP')
sha1sums=('SKIP')
sha256sums=('SKIP')
pkgver() {
cd "$_gitname"
printf '0.r%s.%s' \
"$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
make -C "${_gitname}"
}
package() {
install -Dm755 -t "${pkgdir}/usr/bin" "${_gitname}/${_gitname}"
}
|