summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6996107bbcf0c0c81cd04258c779a347620237b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Vanya A. Sergeev <v@sergeev.io>
pkgname=minifortune
pkgver=2.5
pkgrel=2
pkgdesc="A minimal fortune-mod clone"
arch=('i686' 'x86_64' 'armv7h')
url="https://github.com/vsergeev/minifortune"
license=('MIT')
depends=('glibc')
makedepends=('git')
source=("git+https://github.com/vsergeev/minifortune.git#tag=v$pkgver")
md5sums=('SKIP')

build() {
	cd "$pkgname"
	make PREFIX="/usr"
}

package() {
	cd "$pkgname"
	make PREFIX="/usr" DESTDIR="$pkgdir/" install
	install -D -m 0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}