diff options
Diffstat (limited to 'quich')
-rw-r--r-- | quich/.SRCINFO | 12 | ||||
-rw-r--r-- | quich/.gitignore | 4 | ||||
-rw-r--r-- | quich/PKGBUILD | 25 |
3 files changed, 41 insertions, 0 deletions
diff --git a/quich/.SRCINFO b/quich/.SRCINFO new file mode 100644 index 0000000..9775848 --- /dev/null +++ b/quich/.SRCINFO | |||
@@ -0,0 +1,12 @@ | |||
1 | pkgbase = quich | ||
2 | pkgdesc = Just an advanced terminal calculator | ||
3 | pkgver = 4.0.0 | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/Usbac/quich | ||
6 | arch = x86_64 | ||
7 | license = MIT | ||
8 | provides = quich | ||
9 | source = quich-4.0.0.tar.gz::https://github.com/Usbac/quich/archive/v4.0.0/quich-4.0.0.tar.gz | ||
10 | sha256sums = d28d9a3552552bf692b126dacac6bcc2591531b6a44a24cb1285d2d506dadc85 | ||
11 | |||
12 | pkgname = quich | ||
diff --git a/quich/.gitignore b/quich/.gitignore new file mode 100644 index 0000000..75cb413 --- /dev/null +++ b/quich/.gitignore | |||
@@ -0,0 +1,4 @@ | |||
1 | src/ | ||
2 | pkg/ | ||
3 | *.tar.xz | ||
4 | *.tar.gz | ||
diff --git a/quich/PKGBUILD b/quich/PKGBUILD new file mode 100644 index 0000000..87291f7 --- /dev/null +++ b/quich/PKGBUILD | |||
@@ -0,0 +1,25 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | # Contributor: vscncls <lucaslou4@protonmail.com> | ||
3 | |||
4 | pkgname=quich | ||
5 | pkgver=4.0.0 | ||
6 | pkgrel=1 | ||
7 | pkgdesc="Just an advanced terminal calculator" | ||
8 | url="https://github.com/Usbac/quich" | ||
9 | arch=('x86_64') | ||
10 | license=('MIT') | ||
11 | provides=("$pkgname") | ||
12 | source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") | ||
13 | sha256sums=('d28d9a3552552bf692b126dacac6bcc2591531b6a44a24cb1285d2d506dadc85') | ||
14 | |||
15 | build() { | ||
16 | cd ${pkgname}-${pkgver} | ||
17 | NAME=${pkgname} make quich | ||
18 | } | ||
19 | |||
20 | package() { | ||
21 | cd ${pkgname}-${pkgver} | ||
22 | install -D -m755 ${pkgname} -t "${pkgdir}/usr/bin" | ||
23 | install -D -m644 'README.md' -t "${pkgdir}/usr/share/doc/${_pkgname}" | ||
24 | install -D -m644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}" | ||
25 | } | ||