Skip to content

Instantly share code, notes, and snippets.

@sschober
Created February 9, 2012 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sschober/1779473 to your computer and use it in GitHub Desktop.
Save sschober/1779473 to your computer and use it in GitHub Desktop.
paris-tracerout aur pkg patch
diff --git a/PKGBUILD b/PKGBUILD
index 9dc56d1..bf05fa4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=paris-traceroute
pkgver=0.92
-pkgrel=1
+pkgrel=2
pkgdesc="Paris traceroute is a new version of the well-known network diagnosis and measurement tool"
arch=('i686' 'x86_64')
conflicts=('')
@@ -20,5 +20,11 @@ build() {
./configure --prefix=/usr
make || return 1
+}
+
+package() {
+ cd ${startdir}/src/paris-traceroute-current
make prefix=$startdir/pkg/usr install
+ install -Dm644 man/$pkgname.8 $pkgdir/usr/share/man/man8/$pkgname.8
+ install -Dm644 doc/tupleroute.dia $pkgdir/usr/share/$pkgname/tupleroute.dia
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment