diff options
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 33 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e4f079a470c2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = thapo-calc + pkgdesc = ThApo-Calc (Thanos Apostolou' Calculator) is a simple calculator written in c++ + pkgver = 0.2 + pkgrel = 1 + url = https://gitlab.com/ThanosApostolou/thapo-calc + arch = x86_64 + license = GPL3 + source = https://gitlab.com/ThanosApostolou/thapo-calc/-/archive/0.2/thapo-calc-0.2.tar.gz + md5sums = 538d580e92fa92f694e793e72b509a73 + +pkgname = thapo-calc + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..22246a186581 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Thanos Apostolou <thanosapostolou@outlook.com> +pkgname=thapo-calc +pkgver=0.2 +pkgrel=1 +pkgdesc="ThApo-Calc (Thanos Apostolou' Calculator) is a simple calculator written in c++" +arch=('x86_64') +url="https://gitlab.com/ThanosApostolou/thapo-calc" +license=('GPL3') +source=("https://gitlab.com/ThanosApostolou/thapo-calc/-/archive/0.2/thapo-calc-0.2.tar.gz") +md5sums=('538d580e92fa92f694e793e72b509a73') + +build() { + cd "$pkgname-$pkgver" + arch-meson builddir + ninja -C builddir +} + +package() { + cd "$pkgname-$pkgver" + DESTDIR="$pkgdir/" ninja -C builddir install +} |