diff options
author | svalo <me@valo.space> | 2017-03-17 10:08:56 +0100 |
---|---|---|
committer | svalo <me@valo.space> | 2017-03-17 10:11:38 +0100 |
commit | ab9134665f47249cd26f4fc6aefd8d943c5f4fa8 (patch) | |
tree | 8badacea99cf60e6794830166d0258f74e5a6145 | |
parent | 8318b1bda3acdd37ac07905baa8e0301b83486c3 (diff) | |
download | dino-git-ab9134665f47249cd26f4fc6aefd8d943c5f4fa8.tar.gz dino-git-ab9134665f47249cd26f4fc6aefd8d943c5f4fa8.tar.bz2 dino-git-ab9134665f47249cd26f4fc6aefd8d943c5f4fa8.zip |
Various improvements
* Moves libraries and plugins in own subdir
* Sets mode for install
* Removes gcc deps as it's implicit
* Style consistency in using vars
* Disables make install as it's not needed and installs in /usr/local
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 15 insertions, 15 deletions
@@ -1,15 +1,14 @@ # Generated by mksrcinfo v8 -# Thu Mar 16 23:29:57 UTC 2017 +# Fri Mar 17 09:11:23 UTC 2017 pkgbase = dino-git pkgdesc = Simple and modern Jabber/XMPP client written in vala pkgver = r58.d3005bc - pkgrel = 1 + pkgrel = 2 url = https://github.com/dino/dino arch = i686 arch = x86_64 arch = aarch64 makedepends = git - makedepends = gcc makedepends = cmake makedepends = vala depends = glib2 @@ -1,14 +1,14 @@ # Maintainer: Seppia <seppia@seppio.fish> pkgname=dino-git pkgver=r58.d3005bc -pkgrel=1 +pkgrel=2 pkgdesc="Simple and modern Jabber/XMPP client written in vala" arch=('i686' 'x86_64' 'aarch64') url="https://github.com/dino/dino" license=('') groups=() depends=('glib2' 'gtk3' 'gpgme' 'libgee' 'libnotify' 'openssl' 'sqlite') -makedepends=('git' 'gcc' 'cmake' 'vala') +makedepends=('git' 'cmake' 'vala') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") replaces=() @@ -20,25 +20,26 @@ noextract=() md5sums=('SKIP') pkgver() { - cd "$srcdir/${pkgname%-git}" + cd "${srcdir}/${pkgname%-git}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - cd "$srcdir/${pkgname%-git}" + cd "${srcdir}/${pkgname%-git}" ./configure make } package() { - cd "$srcdir/${pkgname%-git}" - mkdir -p "$pkgdir/usr/bin" - mkdir -p "$pkgdir/usr/lib" - mkdir -p "$pkgdir/usr/lib/plugins" - install build/dino "$pkgdir/usr/bin/" - install build/*.so "$pkgdir/usr/lib/" - install build/plugins/*.so "$pkgdir/usr/lib/plugins/" - make DESTDIR="$pkgdir/" install + cd "${srcdir}/${pkgname%-git}" + mkdir -p "${pkgdir}/usr/bin" + mkdir -p "${pkgdir}/usr/lib/${pkgname%-git}" + mkdir -p "${pkgdir}/usr/lib/${pkgname%-git}/plugins" + install -m755 build/dino "${pkgdir}/usr/bin/" + install -m755 build/*.so "${pkgdir}/usr/lib/${pkgname%-git}/" + install -m755 build/plugins/*.so "${pkgdir}/usr/lib/${pkgname%-git}/plugins/" +# Not working as of now, references to /usr/local +# make DESTDIR="${pkgdir}/" install } |