summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 56fff5155b1e1ac4ff1e50538332f53c35104b8e (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
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: jamazi
# Contributer: Mushroom King
# Contributer: JP-Ellis <josh@jpellis>
# Contributor: <darkfeline@felesatra.moe>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Douglas Soares de Andrade <dsandrade@gmail.com>
# Contributor: Michael Fellinger <m.fellinger@gmail.com>
# Contributor: nixi <nixi at cock dot li>

pkgname=sqlitebrowser-cipher
pkgver=3.12.2
pkgrel=1
pkgdesc="SQLite Database browser is a light GUI editor for SQLite databases, built on top of Qt (with sqlcipher support)"
arch=('i686' 'x86_64')
url="http://sqlitebrowser.org/"
license=('GPL')
provides=('sqlitebrowser')
conflicts=('sqlitebrowser')
depends=('qt5-base' 'hicolor-icon-theme' 'sqlcipher' 'qt5-tools')
makedepends=('cmake')
install=sqlitebrowser.install
source=("https://github.com/sqlitebrowser/sqlitebrowser/archive/v${pkgver}.tar.gz")
sha256sums=('645f98d38e5d128a449e93cebf03c8070f9eacd2d16b10e433a781d54a9d478a')

build() {
  mkdir -p build
  cd build
  cmake -Dsqlcipher=1 ../sqlitebrowser-$pkgver
  make
}

package() {
  cd $srcdir/build
  make install DESTDIR=$pkgdir

  install -Dm0644 "$srcdir/sqlitebrowser-$pkgver/distri/sqlitebrowser.desktop" "$pkgdir/usr/share/applications/sqlitebrowser.desktop"
  install -dm0755 "$pkgdir/usr/share/icons/"
  install -m0644 "$srcdir/sqlitebrowser-$pkgver/images/logo.svg" "$pkgdir/usr/share/icons/sqlitebrowser.svg"
}