diff options
author | Brian Bidulock | 2015-06-10 06:40:08 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-06-10 06:40:08 -0600 |
commit | c9b18d544e5295dbe845c26edd2abf8824d89d62 (patch) | |
tree | 26a31c6cc724ea0adcbd3955fa153259b44a67f6 | |
download | aur-c9b18d544e5295dbe845c26edd2abf8824d89d62.tar.gz |
initial version
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 34 | ||||
-rw-r--r-- | konstruktor-git.install | 11 |
3 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..81d5c46b26c4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +pkgbase = konstruktor-git + pkgdesc = A LDraw-based virtual LEGO(r) CAD for KDE 5. + pkgver = 0.9.0.beta1.r95.gcb9d35f + pkgrel = 1 + url = http://opendesktop.org/content/show.php?content=138138 + install = konstruktor-git.install + arch = i686 + arch = x86_64 + license = GPL + makedepends = cmake + makedepends = automoc4 + makedepends = git + makedepends = qt5-tools + depends = kdebase-runtime + depends = qt5-base + depends = glu + depends = povray + depends = ldraw-parts-library + provides = konstruktor + conflicts = konstruktor + source = konstruktor-git::git+https://github.com/segfault87/Konstruktor.git + md5sums = SKIP + +pkgname = konstruktor-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bf29ba6d8d4a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Brian Bidulock <bidulock@openss7.org> +# Contributor: AdriĆ Arrufat <swiftscythe@gmail.com> +# Contributor: Marcel Pfeiffer <pfeiffer.marcel@gmx.de> + +pkgname=konstruktor-git +pkgver=0.9.0.beta1.r95.gcb9d35f +pkgrel=1 +pkgdesc="A LDraw-based virtual LEGO(r) CAD for KDE 5." +arch=('i686' 'x86_64') +url="http://opendesktop.org/content/show.php?content=138138" +depends=('kdebase-runtime' 'qt5-base' 'glu' 'povray' 'ldraw-parts-library') +makedepends=('cmake' 'automoc4' 'git' 'qt5-tools') +license=('GPL') +provides=('konstruktor') +conflicts=('konstruktor') +install="$pkgname.install" +source=("$pkgname::git+https://github.com/segfault87/Konstruktor.git") +md5sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --long --tags | sed -r 's,([^-]*-g),r\1,;s,-,.,g' +} + +build() { + cd $pkgname + cmake -DCMAKE_INSTALL_PREFIX='/usr' + make +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install +} diff --git a/konstruktor-git.install b/konstruktor-git.install new file mode 100644 index 000000000000..d7c0e6452959 --- /dev/null +++ b/konstruktor-git.install @@ -0,0 +1,11 @@ +post_install() { + update-mime-database usr/share/mime >/dev/null + update-desktop-database -q +} +post_upgrade() { + post_install +} +post_remove() { + post_install +} + |