summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e92bd10b07a54704ec552c0a49e0aeb73d0e8564 (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
# Maintainer: fward <howard Dot main At outlook Dot com>
pkgname=kangaroo-bin
_pkgname=kangaroo
pkgver=1.8.1.210430
pkgrel=1
pkgdesc="Kangaroo is a SQL client and admin tool for popular databases"
arch=('x86_64')
url="https://dbkangaroo.github.io/"
license=('custom')
depends=('glib2' 'gtk3' 'gdk-pixbuf2' 'libgee' 'json-glib' 
	'libsoup' 'libgda' 'gtksourceview4' 'webkit2gtk' 'libssh2' 'openssl')
makedepends=('curl')
optdepends=('libgda-mysql: MySQL support' 'libgda-postgres: PostgreSQL support')
provides=('kangaroo')
conflicts=('kangaroo')

DLAGENTS=("https::/usr/bin/curl -A 'Mozilla' -fLC - --retry 3 --retry-delay 3 -o %o %u")

source=(
    "https://github.com/dbkangaroo/kangaroo/releases/download/v${pkgver}/${_pkgname}-${pkgver}-arch.tar.gz"
)
sha256sums=(
	"7340222fdd5cc61f7c697b10b6b296458ad3bb4797e048f934cc43fcd6d234c7"
)

prepare() {
	tar -zxf "${_pkgname}-${pkgver}-arch.tar.gz"
}

package() {
	cp -rp "${srcdir}/kangaroo/." "${pkgdir}/."
    rm "${pkgdir}/.BUILDINFO"
    rm "${pkgdir}/.PKGINFO"
    rm "${pkgdir}/.MTREE"
    rm "${pkgdir}/usr/lib/libhandy-1.so"
    rm "${pkgdir}/usr/lib/libhandy-1.so.0"
}