blob: 72cbe20bb474e98e65efb9845a966ffa8f8b8838 (
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
|
# Maintainer: goll <adrian.goll+aur[at]gmail>
pkgname=nocache-git
pkgver=100.a56cbb4
pkgrel=1
pkgdesc="minimize caching effects"
arch=('i686' 'x86_64')
url="https://github.com/Feh/nocache"
license=('FreeBSD License')
makedepends=('git' 'gcc' 'make')
conflicts=('nocache')
source=("$pkgname"::'git://github.com/Feh/nocache.git')
sha1sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
make
}
package() {
cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install PREFIX=/usr
}
|