Browse Source

First commit initial file

Signed-off-by: Maryjane <maryjane@disroot.org>
master
Maryjane 11 months ago
commit
ad3f9483fb
1 changed files with 44 additions and 0 deletions
  1. +44
    -0
      PKGBUILD

+ 44
- 0
PKGBUILD View File

@@ -0,0 +1,44 @@
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: stilgar <mnbvcxz@riseup.net>
pkgname='ldh_client'
pkgver=
pkgrel='1'
pkgdesc= 'A user-facing command-line client to manage Librem Tunnel'
arch=('any')
url='https://source.puri.sm/liberty/${pkgname}'
license=('AGPL-3.0-or-later')
depends=('python-gobject' 'python-requests' 'networkmanager-openvpn')
makedepends=('git' 'python')
backup=()
options=()
install=
changelog=
source=("$pkgname")
noextract=()
md5sums=()
validpgpkeys=()

prepare() {
cd "$pkgname"
patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
}

build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr
make
}

check() {
cd "$pkgname-$pkgver"
make -k check
}

package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}

Loading…
Cancel
Save