diff options
author | Thomas Hebb | 2015-01-25 12:10:16 -0500 |
---|---|---|
committer | Thomas Hebb | 2015-01-25 12:10:16 -0500 |
commit | 5e608762edec411024ec96a7290e21df6b44ca60 (patch) | |
tree | e2e9f589d9754ed9b98bfc3729559ec1480ae4ab | |
parent | 1197a872d0da30327cd7861e1c3293f60ea778ad (diff) | |
download | aur-5e608762edec411024ec96a7290e21df6b44ca60.tar.gz |
Split build() into build() and package()
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = revelation pkgdesc = A password manager for the GNOME desktop pkgver = 0.4.14 - pkgrel = 3 + pkgrel = 4 url = http://revelation.olasagasti.info/ install = revelation.install arch = i686 @@ -2,7 +2,7 @@ # Contributor: Jan de Groot <jgc@archlinux.org> pkgname=revelation pkgver=0.4.14 -pkgrel=3 +pkgrel=4 pkgdesc="A password manager for the GNOME desktop" arch=('i686' 'x86_64') license=('GPL') @@ -32,13 +32,17 @@ build() { --disable-mime-update --disable-desktop-update \ --with-python-include=/usr/include/python2.7 make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install sed -i "s|#!/usr/bin/\(env \)\?python$|#!/usr/bin/\1python2|" \ $pkgdir/usr/bin/revelation \ $pkgdir/usr/lib/python2.7/site-packages/revelation/bundle/PBKDFv2.py - install -m755 -d "${pkgdir}/usr/share/gconf/schemas" gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain revelation ${pkgdir}/etc/gconf/schemas/*.schemas || return 1 rm -f ${pkgdir}/etc/gconf/schemas/*.schemas |