summaryrefslogtreecommitdiffstats
path: root/quich-git/PKGBUILD
diff options
context:
space:
mode:
authorYigit Sever2021-10-29 01:30:24 +0300
committerYigit Sever2021-10-29 01:30:24 +0300
commit31d147b20c67d95a9e306d0749200bf964ac42af (patch)
treeb0fbe2bb5aa0fec9983746a91d188643ca93466d /quich-git/PKGBUILD
parent4a31e5e0f3442a4a5ec9fba94f7bbc2c88312c69 (diff)
downloadpackages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.gz
packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.bz2
packages-31d147b20c67d95a9e306d0749200bf964ac42af.zip
Use actual files instead of submodules
Diffstat (limited to 'quich-git/PKGBUILD')
-rw-r--r--quich-git/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/quich-git/PKGBUILD b/quich-git/PKGBUILD
new file mode 100644
index 0000000..c0ca232
--- /dev/null
+++ b/quich-git/PKGBUILD
@@ -0,0 +1,33 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2# Contributor: Caltlgin Stsodaat <contact@fossdaily.xyz>
3# Contributor: vscncls <lucaslou4@protonmail.com>
4
5_pkgname='quich'
6pkgname="${_pkgname}-git"
7pkgver=4.0.0.r3.ged2d2b7
8pkgrel=1
9pkgdesc='calculator for terminal with numerous features'
10arch=('x86_64')
11url='https://github.com/Usbac/quich'
12license=('MIT')
13makedepends=('git')
14provides=("${_pkgname}")
15conflicts=("${_pkgname}")
16source=("git+${url}.git")
17sha256sums=('SKIP')
18
19pkgver() {
20 git -C "${_pkgname}" describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
21}
22
23build() {
24 make -C "${_pkgname}" LDFLAGS="${LDFLAGS}"
25}
26
27package() {
28 cd "${_pkgname}"
29 install -D -m755 "${_pkgname}" -t "${pkgdir}/usr/bin"
30 install -D -m644 'README.md' -t "${pkgdir}/usr/share/doc/${_pkgname}"
31 install -D -m644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${_pkgname}"
32 install -D -m644 'quich.1' -t "${pkgdir}/usr/share/man/man1"
33}