diff options
author | LinArcX | 2018-01-06 12:12:35 +0330 |
---|---|---|
committer | LinArcX | 2018-01-06 12:12:35 +0330 |
commit | 43662d1abfc8383b5fa0d5e303657608987b47a3 (patch) | |
tree | 65f7b77b370ed4d2d2fdc1c027acea381d70b296 | |
download | aur-43662d1abfc8383b5fa0d5e303657608987b47a3.tar.gz |
init repo
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b8f3ad327932 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = gnulium-git + pkgdesc = A Graphical Ui for managing scripts and ideas! (Github version) + pkgver = 0 + pkgrel = 1 + url = https://github.com/LinArcX/Gnulium + arch = any + license = GPL-3.0 + makedepends = git + makedepends = qt5-base + depends = qt5-quickcontrols2 + depends = qt5-quickcontrols + depends = qt5-charts + depends = jcal-git + provides = gnulium + conflicts = gnulium + source = gnulium-git::git+https://github.com/LinArcX/Gnulium.git + sha256sums = SKIP + +pkgname = gnulium-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..14835fbd27a7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: LinArcx <linarcx@gmail.com> + +pkgname='gnulium-git' +pkgver=0 +pkgrel=1 +pkgdesc="A Graphical Ui for managing scripts and ideas! (Github version)" # "Make Your Gnu/linux More Readble and Easy to Understand." +arch=('any') +url="https://github.com/LinArcX/Gnulium" +license=('GPL-3.0') +depends=('qt5-quickcontrols2' 'qt5-quickcontrols' 'qt5-charts' 'jcal-git') +makedepends=('git' 'qt5-base') +provides=("${pkgname%-git}") # provides=("${pkgname}" 'gnulium') +conflicts=("${pkgname%-git}") # conflicts=("${pkgname}" 'gnulium') +source=("${pkgname}::git+https://github.com/LinArcX/Gnulium.git") +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + ( set -o pipefail + git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + ) + # git log -1 --date=format:%Y%m%d --pretty=format:%cd +} + +build() { + cd "${srcdir}/${pkgname}" + qmake + make +} + +package() { + # cd $pkgname + cd "${srcdir}/${pkgname}" + install -Dm755 ./gnulium ${pkgdir}/usr/bin/gnulium + install -Dm644 ./appconf/gnulium.desktop ${pkgdir}/usr/share/applications/gnulium.desktop + install -Dm644 ./appconf/gnulium.svg ${pkgdir}/usr/share/pixmaps/gnulium.svg + install -Dm644 ./LICENSE ${pkgdir}/usr/share/licenses/gnulium/LICENSE + + # install -Dm644 ./man/persepolis.1.gz ${pkgdir}/usr/share/man/man1/neompv.1.gz + # install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + # install -d ${pkgdir}/usr/share/persepolis + # make INSTALL_ROOT="$pkgdir" install +}
\ No newline at end of file |