diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | dbgate.install | 7 |
3 files changed, 11 insertions, 2 deletions
@@ -1,8 +1,9 @@ pkgbase = dbgate-bin pkgdesc = Database manager for MySQL, PostgreSQL, SQL Server, MongoDB, SQLite and others pkgver = 5.0.1 - pkgrel = 2 + pkgrel = 3 url = https://github.com/dbgate/dbgate + install = dbgate.install arch = x86_64 license = MIT depends = nss @@ -1,7 +1,7 @@ # Maintainer: aulonsal <aulonsal at gmail dot com> pkgname=dbgate-bin pkgver=5.0.1 -pkgrel=2 +pkgrel=3 pkgdesc='Database manager for MySQL, PostgreSQL, SQL Server, MongoDB, SQLite and others' arch=('x86_64') url="https://github.com/${pkgname%-bin}/${pkgname%-bin}" @@ -12,6 +12,7 @@ depends=( ) provides=("${pkgname%-bin}") conflicts=("${pkgname%-bin}") +install=dbgate.install source=( "$pkgname-$pkgver.deb::$url/releases/download/v$pkgver/dbgate-$pkgver-linux_amd64.deb" "$pkgname-$pkgver-LICENSE::${url/github/raw.githubusercontent}/v$pkgver/LICENSE" diff --git a/dbgate.install b/dbgate.install new file mode 100644 index 000000000000..0a6b5d7550c8 --- /dev/null +++ b/dbgate.install @@ -0,0 +1,7 @@ +post_install() { + chmod u+s /opt/DbGate/chrome-sandbox +} + +post_upgrade() { + post_install +} |