diff options
author | graysky | 2018-11-26 15:15:39 -0500 |
---|---|---|
committer | graysky | 2018-11-26 15:15:39 -0500 |
commit | 50632755dd2091dd6368d57f7812678952f5d786 (patch) | |
tree | 8b5205ef143eab195f20dcf1b2a6249077f55b20 | |
download | aur-50632755dd2091dd6368d57f7812678952f5d786.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0fe34d6099a2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = lxc-service-snapshots + pkgdesc = Run disposable (read-only then delete) Linux containers (LXC) to serve up OpenVPN, Pi-Hole, or WireGuard. + pkgver = 2.00 + pkgrel = 1 + url = https://github.com/graysky2/lxc-service-snapshots + arch = any + license = MIT + depends = systemd + depends = lxc>=1:2.1.0 + backup = etc/conf.d/openvpn-lss.conf + backup = etc/conf.d/pihole-lss.conf + backup = etc/conf.d/wireguard-lss.conf + source = lxc-service-snapshots-2.00.tar.gz::https://github.com/graysky2/lxc-service-snapshots/archive/v2.00.tar.gz + sha256sums = 87348bd7433ef7221bf325cf6ee7d5e12cc5ac394a6fe1af1b25e1472ca155db + +pkgname = lxc-service-snapshots + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..137aed6bb23d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: graysky <graysky AT archlinux DOT us> + +pkgname=lxc-service-snapshots +pkgver=2.00 +pkgrel=1 +pkgdesc='Run disposable (read-only then delete) Linux containers (LXC) to serve up OpenVPN, Pi-Hole, or WireGuard.' +arch=('any') +url='https://github.com/graysky2/lxc-service-snapshots' +license=('MIT') +depends=('systemd' 'lxc>=1:2.1.0') +source=("$pkgname-$pkgver.tar.gz::https://github.com/graysky2/$pkgname/archive/v$pkgver.tar.gz") +backup=('etc/conf.d/openvpn-lss.conf' 'etc/conf.d/pihole-lss.conf' 'etc/conf.d/wireguard-lss.conf') +sha256sums=('87348bd7433ef7221bf325cf6ee7d5e12cc5ac394a6fe1af1b25e1472ca155db') + +build() { + cd "$pkgname-$pkgver" + make +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |