Add basic PKGBUILD
This commit is contained in:
parent
7048db42bd
commit
83fb7754ad
5
.gitignore
vendored
5
.gitignore
vendored
@ -17,3 +17,8 @@ core
|
||||
.vscode/*
|
||||
venv/*
|
||||
onionr/fs*
|
||||
|
||||
# package files
|
||||
onionr-*.pkg.tar.gz
|
||||
pkg/
|
||||
src/
|
||||
|
2
Makefile
2
Makefile
@ -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
20
PKGBUILD
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user