summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 68824adaf4087f2ba72582a259d5a328c1958fe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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: Your Name <youremail@domain.com>
pkgname=wgroute
pkgver=1.0.1
pkgrel=1
pkgdesc="A tiny script to use if you want to route all of your packets through WireGuard without wg-quick"
arch=('any')
url="https://github.com/RONTheCookie/wgroute"
license=('MIT')
depends=('iproute2' 'wireguard-tools')
makedepends=('make')
source=("$pkgname-$pkgver.tar.gz::https://github.com/RONTheCookie/wgroute/archive/$pkgver.tar.gz")
sha256sums=('e9d65aaa36560dd21f552b9755552a079e8e7c6118a75629dd7f430b53a387eb')

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install
	install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}