diff options
author | Eyenpi | 2021-08-17 12:06:48 +0430 |
---|---|---|
committer | Eyenpi | 2021-08-17 12:06:48 +0430 |
commit | b7e5bcff9b64b305bf57786c137faa226abda355 (patch) | |
tree | 3f29a17641b03b9c83bb2a1e72acaba6ede90a28 | |
download | aur-b7e5bcff9b64b305bf57786c137faa226abda355.tar.gz |
initial release
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 34 |
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d95b22dc245f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = cutefish-calculator-git + pkgdesc = CutefishOS Calculator + pkgver = 0.3.r2.g1f3d222 + pkgrel = 1 + url = https://github.com/cutefishos/calculator + arch = x86_64 + groups = cutefish-git + license = GPL + makedepends = extra-cmake-modules + makedepends = ninja + makedepends = qt5-tools + makedepends = git + depends = fishui-git + depends = libcutefish-git + provides = cutefish-calculator + conflicts = cutefish-calculator + source = git+https://github.com/cutefishos/calculator.git + sha512sums = SKIP + +pkgname = cutefish-calculator-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..31d27563afeb --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!PKGBUILD +!.SRCINFO
\ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..72ebdedb6a49 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Ali Nabipour <alinabipour01@gmail.com> + +pkgname=cutefish-calculator-git +_pkgname=cutefish-calculator +pkgver=0.3.r2.g1f3d222 +pkgrel=1 +pkgdesc="CutefishOS Calculator" +arch=('x86_64') +url="https://github.com/cutefishos/calculator" +license=('GPL') +groups=('cutefish-git') +depends=('fishui-git' 'libcutefish-git') +makedepends=('extra-cmake-modules' 'ninja' 'qt5-tools' 'git') +provides=("$_pkgname") +conflicts=("$_pkgname") +source=("git+$url.git") +sha512sums=('SKIP') + +pkgver() { + cd calculator + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd calculator + + cmake -DCMAKE_INSTALL_PREFIX=/usr . + make +} + +package() { + cd calculator + make DESTDIR="$pkgdir" install +} |