From 31d147b20c67d95a9e306d0749200bf964ac42af Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 29 Oct 2021 01:30:24 +0300 Subject: Use actual files instead of submodules --- quich-git/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 quich-git/PKGBUILD (limited to 'quich-git/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 @@ +# Maintainer: Yigit Sever +# Contributor: Caltlgin Stsodaat +# Contributor: vscncls + +_pkgname='quich' +pkgname="${_pkgname}-git" +pkgver=4.0.0.r3.ged2d2b7 +pkgrel=1 +pkgdesc='calculator for terminal with numerous features' +arch=('x86_64') +url='https://github.com/Usbac/quich' +license=('MIT') +makedepends=('git') +provides=("${_pkgname}") +conflicts=("${_pkgname}") +source=("git+${url}.git") +sha256sums=('SKIP') + +pkgver() { + git -C "${_pkgname}" describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + make -C "${_pkgname}" LDFLAGS="${LDFLAGS}" +} + +package() { + cd "${_pkgname}" + 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}" + install -D -m644 'quich.1' -t "${pkgdir}/usr/share/man/man1" +} -- cgit v1.2.3-70-g09d2