From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/sqliteman/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ community/sqliteman/sqliteman.install | 12 ++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 community/sqliteman/PKGBUILD create mode 100644 community/sqliteman/sqliteman.install (limited to 'community/sqliteman') diff --git a/community/sqliteman/PKGBUILD b/community/sqliteman/PKGBUILD new file mode 100644 index 000000000..10a21ffba --- /dev/null +++ b/community/sqliteman/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 81006 2012-12-09 15:39:03Z andrea $ +# Maintainer: Sergej Pupykin +# Contributor: Geoffroy Carrier +# Contributor: Roman Porizka +# Contributor: Daniel J Griffiths + +pkgname=sqliteman +pkgver=1.2.2 +pkgrel=6 +pkgdesc="The best developer's and/or admin's GUI tool for Sqlite3 in the world" +arch=('i686' 'x86_64') +url="http://sqliteman.com/" +license=('GPL') +depends=('qscintilla') +makedepends=('cmake') +install=sqliteman.install +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('5ecdf710e23606e1b924f740ea69306d') + +build() { + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} diff --git a/community/sqliteman/sqliteman.install b/community/sqliteman/sqliteman.install new file mode 100644 index 000000000..ce8f7514f --- /dev/null +++ b/community/sqliteman/sqliteman.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf