blob: cd5284b8b37c2c2d0b6e3cd2a060878f6e7f2e80 (
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
|
# Maintainer: Martin Schrodt <martin@schrodt.org>
pkgname=cubesql
pkgdesc='cubeSQL is a relational database management system built on top of the sqlite database engine.'
pkgver=5.9.0
pkgrel=1
arch=('x86_64')
url='http://www.sqlabs.com/cubesql.php'
license=('custom:cubesql')
optdepends=('gtk3')
source=('https://www.sqlabs.com/download/cubesql/latest/cubesql_linux64bit.tar.gz'
'cubesql.service'
'cubesql-admin'
'cubesql-sysusers.conf'
'cubesql-tmpfiles.conf')
sha256sums=('8c65540494b4da4d3ff7d7b01df3fb9159bd234362766912f7804fbfaf16c860'
'3bfe6eec238b33581f9441be552b34a875b8dac783314d0efaec6dd3992be490'
'dec44ae33559e89061db90177322d3e9a289df64da1b1287df3bd47379b6a8b5'
'bf57a4e0ec18559a3de8457e07262aece9cf27995af84a561f56f7ff84dfb88f'
'0cd36e0d6bace234c454d1b66a2ed843de6b883900915165a19f5bc4bda7fd97')
package() {
mkdir -p $pkgdir/usr/bin
mkdir -p $pkgdir/usr/share/doc/cubesql
mkdir -p $pkgdir/usr/lib/cubesql
install -D -m644 cubesql.service -t "$pkgdir/usr/lib/systemd/system"
install -D -m644 cubesql-sysusers.conf "$pkgdir/usr/lib/sysusers.d/cubesql.conf"
install -D -m644 cubesql-tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/cubesql.conf"
install -D -m755 cubesql-admin -t "$pkgdir/usr/bin"
cd $srcdir/cubesql_64bit/data
cp cubesql $pkgdir/usr/bin/cubesql
cp Documentation/* $pkgdir/usr/share/doc/cubesql
cp -r cubeSQLAdmin/* $pkgdir/usr/lib/cubesql
}
|