diff --git a/README.md b/README.md index 7a20aac..190589c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # modeco80/aur -Welcome! +Welcome to my AUR repository! This mostly contains stuff I need for other servers. diff --git a/net/vde2/libvdeplug-pcap-git/PKGBUILD b/net/vde2/libvdeplug-pcap-git/PKGBUILD new file mode 100644 index 0000000..c2fff6b --- /dev/null +++ b/net/vde2/libvdeplug-pcap-git/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Lily Tsuru + +_gitname="vdeplug_pcap" +_pkgname="libvdeplug-pcap" + +pkgname="$_pkgname-git" +pkgver=r12.a90ef6e +pkgrel=1 +pkgdesc="libpcap plugin for vdeplug4" +arch=('any') +url="https://github.com/virtualsquare/${_gitname}" +license=('LGPL') +groups=('virtualsquare') +depends=('vdeplug4') +makedepends=('git' 'cmake') +source=( + "git+$url.git" +) +options=(!makeflags) +sha256sums=( + 'SKIP' +) + +pkgver() { + cd "$_gitname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cmake -S$_gitname -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr + make -C build ${MAKEFLAGS} +} + +package() { + DESTDIR="$pkgdir/" make -C build install +}