blob: 54b6f219457e6b45d0c613a1f8b771efb74c2e73 (
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: Bobby Hamblin <hamblingreen@hotmail.com>
pkgname=slcl
pkgver=0.2.1
pkgrel=2
pkgdesc="A simple and lightweight cloud"
arch=('i686' 'x86_64' 'arm' 'aarch64')
url="https://gitea.privatedns.org/xavi/slcl"
license=('AGPL3')
depends=('openssl' 'cjson' 'dynstr' 'libweb')
optdepends=('jq: usergen script')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha512sums=('52a15f96958becf975a16e29b68f5ddb97e1fed81899e9b988ec127b4841ff590a0a12c7cad793bc90ce971b8894690d14bdb82ff5be1af200052efe02fb0f46')
prepare() {
cd "$pkgname"
./configure --prefix=/usr
}
build() {
cd "$pkgname"
make
cd "doc/man1"
make
}
package() {
cd "$pkgname"
mkdir -p "$pkgdir/usr/bin"
install "slcl" "usergen" "$pkgdir/usr/bin/"
cd "doc/man1"
mkdir -p "$pkgdir/usr/share/man/man1"
install "slcl.1" "usergen.1" "$pkgdir/usr/share/man/man1"
}
|