summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b99010448bf0681fa2112af9dde0b2ed193f96f0 (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
# Maintainer: David Donahue <david at donahue6 dot us>
pkgname=repocalc
pkgver=1.1.0
pkgrel=2
pkgdesc="An ncurses RPN calculator"
arch=('any')
url="https://github.com/drdonahue/repocalc"
license=('MIT')
depends=('ncurses' 'glibc')
makedepends=('gcc' 'pkgconf')
source=("https://github.com/drdonahue/repocalc/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('165de057abd5250dff95ffecbd087980039cb26b437594dc9e64c9738cc74fec')

build() {
    cd $srcdir/$pkgname-$pkgver
    make
}

package() {
    cd $srcdir/$pkgname-$pkgver
    echo $pkgdir
    make DESTDIR="$pkgdir" PREFIX="/usr" install
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}