diff options
author | zan | 2020-07-27 14:52:16 -0400 |
---|---|---|
committer | zan | 2020-07-27 14:52:16 -0400 |
commit | efd901b008946c00a20c37b68ef0347133847ca5 (patch) | |
tree | 33c084f0533c7187e7f3f7d4b64de99c803722f8 | |
download | aur-dotherside-git.tar.gz |
initial
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a4dade3f2e26 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = dotherside-git + pkgver = v0.6.5.r16.ga7bfa38 + pkgrel = 1 + url = https://github.com/filcuc/dotherside + arch = x86_64 + license = LGPL + makedepends = cmake + makedepends = git + depends = qt5-quickcontrols2 + source = git+https://github.com/filcuc/dotherside.git + sha256sums = SKIP + +pkgname = dotherside-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..66149c965e57 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer zan <zan@420blaze.it> + +pkgname=dotherside-git +pkgver=v0.6.5.r16.ga7bfa38 +pkgrel=1 +pkgdesk="C language library for creating bindings for the Qt QML language " +arch=(x86_64) +url="https://github.com/filcuc/dotherside" +license=(LGPL) +depends=(qt5-quickcontrols2) +makedepends=(cmake git) +source=("git+https://github.com/filcuc/dotherside.git") +sha256sums=('SKIP') + +pkgver() { + cd ${pkgname%-git} + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -S ${pkgname%-git} + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +} |