Add basic PKGBUILD

This commit is contained in:
Arinerron 2019-03-27 11:57:59 -07:00
parent 7048db42bd
commit 83fb7754ad
No known key found for this signature in database
GPG Key ID: 99383627861C62F0
3 changed files with 26 additions and 1 deletions

5
.gitignore vendored
View File

@ -17,3 +17,8 @@ core
.vscode/*
venv/*
onionr/fs*
# package files
onionr-*.pkg.tar.gz
pkg/
src/

View File

@ -6,7 +6,7 @@ PREFIX = /usr/local
.DEFAULT_GOAL := setup
setup:
sudo pip3 install -r requirements.txt
pip3 install -r requirements.txt --require-hashes --user
-@cd onionr/static-data/ui/; ./compile.py
install:

20
PKGBUILD Normal file
View File

@ -0,0 +1,20 @@
url="https://onionr.net/"
pkgname="onionr"
pkgver=0.0
pkgrel=1
pkgdesc="P2P anonymous storage network"
arch=("x86_64")
license=('GPL')
source=("onionr-${pkgver}::git+https://gitlab.com/beardog/onionr.git#branch=master")
md5sums=('SKIP')
makedepends=('git', 'python3-pip')
build() {
cd "$pkgname-${pkgver}"
make
}
package() {
cd "$pkgname-${pkgver}"
# make install
}