From d1fbcec940728ed0ac131cf986e069f63ec50b8e Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 31 May 2016 21:25:53 -0400 Subject: Add ~lukeshu/netctl-network-online-git --- ~lukeshu/netctl-network-online-git/PKGBUILD | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 ~lukeshu/netctl-network-online-git/PKGBUILD (limited to '~lukeshu/netctl-network-online-git') diff --git a/~lukeshu/netctl-network-online-git/PKGBUILD b/~lukeshu/netctl-network-online-git/PKGBUILD new file mode 100644 index 000000000..32c96d0b0 --- /dev/null +++ b/~lukeshu/netctl-network-online-git/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Luke Shumaker + +_pkgname=netctl-network-online +pkgname=$_pkgname-git + +pkgver=20160101 +_gitver=b798fa0ff634accf571aac28b2aff4bf5c0904d2 +pkgdesc="network-online.target integration for netctl" +url="https://lukeshu.com/git/$_pkgname.git" +license=('WTFPL') + +provides=($_pkgname) +conflicts=($_pkgname) + +pkgrel=1 +arch=('any') + +depends=('netctl') + +source=("https://repo.parabola.nu/other/~lukeshu/$_pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('a5e9b6de457f3debca65f66d49e00245') + +mkdepends=('git') +mksource=("$pkgname-$pkgver::git://lukeshu.com/$_pkgname.git#commit=$_gitver") +mkmd5sums=('SKIP') + +build() { + cd "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make install DESTDIR="$pkgdir" + install -Dm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname +} -- cgit v1.2.3