summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 07e523c5fcdff91c3df89928c7ea5ab26ade933a (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
# Maintainer: <grawity@gmail.com>
# Contributor: goll <adrian.goll+aur[at]gmail>

pkgname=nocache
pkgver=1.1
pkgrel=1
pkgdesc="minimize caching effects"
arch=(i686 x86_64)
url="https://github.com/Feh/nocache"
license=('FreeBSD License')
_commit=e4e77a48528739188dccbdbd8b4d2d2d49aa0d99
source=("git+https://github.com/Feh/nocache.git#commit=$_commit")
sha256sums=('SKIP')

pkgver() {
  cd "$pkgname"
  git describe | sed "s/^v//; s/-/.r/; s/-/./"
}

build() {
  cd "$pkgname"
  make
}

package() {
  cd "$pkgname"
  make PREFIX=/usr DESTDIR="$pkgdir" install
}

# vim: ts=2:sw=2:et: