diff options
author | librewish | 2020-01-24 23:31:39 +0530 |
---|---|---|
committer | librewish | 2020-01-24 23:31:39 +0530 |
commit | 4580ebdb4fcf8ffe8f317b9a42de8e875a8f4b72 (patch) | |
tree | 244d830e193b6d1b931f0b81b385970aa950103a | |
download | aur-4580ebdb4fcf8ffe8f317b9a42de8e875a8f4b72.tar.gz |
init
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6f845418d182 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = coreinfo-git + pkgdesc = A x11 based virtual keyboard from the CoreApps family. + pkgver = v2.8.0.r1.2c235a0 + pkgrel = 1 + url = https://gitlab.com/cubocore + arch = i686 + arch = x86_64 + groups = coreapps-git + license = GPL3 + makedepends = git + depends = libcprime-git + depends = libzen + depends = libmediainfo + depends = zlib + provides = coreinfo + conflicts = coreinfo + source = git+https://gitlab.com/cubocore/coreinfo.git + md5sums = SKIP + +pkgname = coreinfo-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f5d935112dc1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +_pkgname=coreinfo +pkgname=${_pkgname}-git +pkgver=v2.8.0.r1.2c235a0 +pkgrel=1 +pkgdesc="A x11 based virtual keyboard from the CoreApps family." +arch=('i686' 'x86_64') +url="https://gitlab.com/cubocore" +license=('GPL3') +depends=('libcprime-git' 'libzen' 'libmediainfo' 'zlib') +makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +groups=('coreapps-git') +source=("git+https://gitlab.com/cubocore/${_pkgname}.git") +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${_pkgname}" + printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" +} + +build() { + cd "$srcdir/${_pkgname}" + qmake-qt5 ${_pkgname}.pro + make +} + +package() { + cd "$srcdir/${_pkgname}" + make INSTALL_ROOT=${pkgdir} install +} |