summaryrefslogtreecommitdiff
path: root/community/sqlitebrowser/PKGBUILD
blob: 86e57c4a6a5df9af35aff127af0121d3abdceb4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 114648 2014-07-02 14:54:20Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Douglas Soares de Andrade <dsandrade@gmail.com>
# Contributor: Michael Fellinger <m.fellinger@gmail.com>

pkgname=sqlitebrowser
pkgver=3.1.0
pkgrel=3
pkgdesc="SQLite Database browser is a light GUI editor for SQLite databases, built on top of Qt"
arch=('i686' 'x86_64')
url="http://sqlitebrowser.org/"
license=('GPL')
depends=('qt5-base' 'sqlite' 'libxkbcommon-x11')
source=(https://github.com/sqlitebrowser/sqlitebrowser/archive/sqlb-$pkgver.tar.gz)
md5sums=('17be1cdebcf79a906e6e206fc7cd6cde')

build() {
  cd $srcdir/$pkgname-sqlb-$pkgver
  qmake-qt5 QMAKE_INCDIR="/usr/include/qt/QtWidgets /usr/include/qt/QtPrintSupport/"
  make
}

package() {
  cd $srcdir/$pkgname-sqlb-$pkgver
  install -Dm0755 src/$pkgname $pkgdir/usr/bin/$pkgname
}