diff options
| author | Yigit Sever | 2021-10-29 01:30:24 +0300 |
|---|---|---|
| committer | Yigit Sever | 2021-10-29 01:30:24 +0300 |
| commit | 31d147b20c67d95a9e306d0749200bf964ac42af (patch) | |
| tree | b0fbe2bb5aa0fec9983746a91d188643ca93466d /quich-git | |
| parent | 4a31e5e0f3442a4a5ec9fba94f7bbc2c88312c69 (diff) | |
| download | packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.gz packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.bz2 packages-31d147b20c67d95a9e306d0749200bf964ac42af.zip | |
Use actual files instead of submodules
Diffstat (limited to 'quich-git')
| m--------- | quich-git | 0 | ||||
| -rw-r--r-- | quich-git/.SRCINFO | 14 | ||||
| -rw-r--r-- | quich-git/.gitignore | 4 | ||||
| -rw-r--r-- | quich-git/PKGBUILD | 33 |
4 files changed, 51 insertions, 0 deletions
diff --git a/quich-git b/quich-git deleted file mode 160000 | |||
| Subproject 29a0074041fc79656d5d578823574e5ce8ccdc2 | |||
diff --git a/quich-git/.SRCINFO b/quich-git/.SRCINFO new file mode 100644 index 0000000..6b87de9 --- /dev/null +++ b/quich-git/.SRCINFO | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | pkgbase = quich-git | ||
| 2 | pkgdesc = calculator for terminal with numerous features | ||
| 3 | pkgver = 4.0.0.r3.ged2d2b7 | ||
| 4 | pkgrel = 1 | ||
| 5 | url = https://github.com/Usbac/quich | ||
| 6 | arch = x86_64 | ||
| 7 | license = MIT | ||
| 8 | makedepends = git | ||
| 9 | provides = quich | ||
| 10 | conflicts = quich | ||
| 11 | source = git+https://github.com/Usbac/quich.git | ||
| 12 | sha256sums = SKIP | ||
| 13 | |||
| 14 | pkgname = quich-git | ||
diff --git a/quich-git/.gitignore b/quich-git/.gitignore new file mode 100644 index 0000000..05c6d4d --- /dev/null +++ b/quich-git/.gitignore | |||
| @@ -0,0 +1,4 @@ | |||
| 1 | * | ||
| 2 | !.gitignore | ||
| 3 | !.SRCINFO | ||
| 4 | !PKGBUILD | ||
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' | ||
| 6 | pkgname="${_pkgname}-git" | ||
| 7 | pkgver=4.0.0.r3.ged2d2b7 | ||
| 8 | pkgrel=1 | ||
| 9 | pkgdesc='calculator for terminal with numerous features' | ||
| 10 | arch=('x86_64') | ||
| 11 | url='https://github.com/Usbac/quich' | ||
| 12 | license=('MIT') | ||
| 13 | makedepends=('git') | ||
| 14 | provides=("${_pkgname}") | ||
| 15 | conflicts=("${_pkgname}") | ||
| 16 | source=("git+${url}.git") | ||
| 17 | sha256sums=('SKIP') | ||
| 18 | |||
| 19 | pkgver() { | ||
| 20 | git -C "${_pkgname}" describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' | ||
| 21 | } | ||
| 22 | |||
| 23 | build() { | ||
| 24 | make -C "${_pkgname}" LDFLAGS="${LDFLAGS}" | ||
| 25 | } | ||
| 26 | |||
| 27 | package() { | ||
| 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 | } | ||
