summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 87291f7eea47a0b52af006faac1d2a060bc12bd2 (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
# Maintainer: Yigit Sever <yigit at yigitsever dot com>
# Contributor: vscncls <lucaslou4@protonmail.com>

pkgname=quich
pkgver=4.0.0
pkgrel=1
pkgdesc="Just an advanced terminal calculator"
url="https://github.com/Usbac/quich"
arch=('x86_64')
license=('MIT')
provides=("$pkgname")
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('d28d9a3552552bf692b126dacac6bcc2591531b6a44a24cb1285d2d506dadc85')

build() {
    cd ${pkgname}-${pkgver}
    NAME=${pkgname} make quich
}

package() {
    cd ${pkgname}-${pkgver}
    install -D -m755 ${pkgname} -t "${pkgdir}/usr/bin"
    install -D -m644 'README.md' -t "${pkgdir}/usr/share/doc/${_pkgname}"
    install -D -m644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}"
}