blob: d72aa6e9ac048b901bee9fee762c0cf4642d3130 (
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
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: salosh <support[at]salosh[dot]org>
_name="parvanka"
pkgbase="$_name"
pkgname=("$pkgbase")
pkgver=0.0.1
pkgrel=1
epoch=1
pkgdesc="Distributed data management"
arch=(any)
url="https://github.com/salosh/parvanka.git"
license=('MIT')
groups=()
depends=('go')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
noextract=()
md5sums=()
validpgpkeys=()
#source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
source=("parvanka::git+https://github.com/salosh/parvanka.git")
#source=("${pkgdir}/parvanka")
sha512sums=('SKIP')
b2sums=('SKIP')
build() {
echo "bin: ${pkgdir}/usr/bin/parvanka"
# cd ${pkgname}-${pkgver}
# go build -o parvanka .
}
package_parvanka() {
# sitepackages=parvanka
# mkdir -p $pkgdir/"$sitepackages"
echo '#!/usr/bin/parvanka' > "${srcdir}/parvanka.sh"
mkdir -p "${pkgdir}/usr/bin"
cp "${srcdir}/parvanka.sh" "${pkgdir}/usr/bin/parvanka.sh"
chmod +x "${pkgdir}/usr/bin/parvanka.sh"
}
|