blob: b646274fb708dd03c2828669d4648d9ee92d8892 (
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
|
# Maintainer: aulonsal <aulonsal at gmail dot com>
pkgname=dbgate-bin
pkgver=4.2.2
pkgrel=1
pkgdesc="Database manager for MySQL, PostgreSQL, SQL Server and MongoDB."
arch=(x86_64)
url="https://github.com/${pkgname%-bin}/${pkgname%-bin}"
license=('MIT')
depends=(
nss
gtk3
)
provides=(${pkgname%-bin})
conflicts=(${pkgname%-bin})
source=(
"$pkgname-$pkgver.deb::$url/releases/download/v$pkgver/dbgate-linux-$pkgver.deb"
"$pkgname-$pkgver-LICENSE::${url/github/raw.githubusercontent}/master/LICENSE"
)
b2sums=('706e6c9b2152dc8b6365aa3e506a6dbd3a727d773f2dc2606048562f27f6f3677666618ff639e0325830e5f22e17323e4ba2fb0ba9fd1cd91812b088b4c76153'
'9cc4e2813f0978862b0960aa0c8d5b0bc75ae299f10b793ae152202f2e6f43127381c9153c6f51ca1bc83ab633d198dac5d817105a8e7b43e1aad401e0b6eb2f')
package() {
bsdtar -xf data.tar.xz --directory="$pkgdir"
install -Dm644 "$pkgname-$pkgver-LICENSE" "$pkgdir/usr/share/licenses/${pkgname%-bin}/LICENSE"
# Move icon to the right directory
mv "$pkgdir/usr/share/icons/hicolor/0x0" "$pkgdir/usr/share/icons/hicolor/256x256"
}
|