summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCody P Schafer2016-06-29 15:40:01 -0400
committerCody P Schafer2016-06-29 15:40:01 -0400
commitf2f7444ca46af73cbf7d364f2cb614a318ad2806 (patch)
treec672f7b3678643583f80bbf692c791d8d394c36a
parente92a91c92263aac0ae298ae5b4e208832de003d7 (diff)
downloadaur-f2f7444ca46af73cbf7d364f2cb614a318ad2806.tar.gz
bustle-pcap
-rw-r--r--.SRCINFO31
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD24
3 files changed, 18 insertions, 38 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 184f19c51aa..0a2f41733fb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,31 +1,20 @@
-pkgbase = bustle-git
- pkgdesc = A dbus profiler
+pkgbase = bustle-pcap-git
+ pkgdesc = Capture traces for use in bustle
pkgver = 0.5.4.r2.g0a426c3
pkgrel = 2
url = https://www.freedesktop.org/wiki/Software/Bustle/
arch = x86_64
license = GPLv3
makedepends = git
- depends = ghc
- depends = happy
- depends = alex
- depends = gtk2hs-buildtools
- depends = haskell-cairo
- depends = haskell-dbus
- depends = haskell-glib
- depends = haskell-gtk
- depends = haskell-mtl
- depends = haskell-pango
- depends = haskell-parsec
- depends = haskell-setlocale
- depends = haskell-pcap
- depends = haskell-hgettext
- depends = haskell-gio
- provides = bustle
- conflicts = bustle
+ makedepends = pkg-config
+ depends = libdbus
+ depends = glib2
+ depends = libpcap
+ provides = bustle-pcap
+ conflicts = bustle-pcap
options = !emptydirs
- source = bustle-git::git+https://anongit.freedesktop.org/git/bustle.git
+ source = bustle-pcap-git::git+https://anongit.freedesktop.org/git/bustle.git
md5sums = SKIP
-pkgname = bustle-git
+pkgname = bustle-pcap-git
diff --git a/.gitignore b/.gitignore
index ed38590ecae..2277306798c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ pkg/
src/
*.tar.*
bustle-git/
+bustle-pcap-git/
diff --git a/PKGBUILD b/PKGBUILD
index d21b6b853f1..9857384218c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,15 @@
# Maintainer: Cody P Schafer <archlinux at codyps.com>
-_bpn=bustle
+_bpn=bustle-pcap
pkgname=${_bpn}-git
pkgver=0.5.4.r2.g0a426c3
pkgrel=2
-pkgdesc="A dbus profiler"
+pkgdesc="Capture traces for use in bustle"
arch=(x86_64)
url="https://www.freedesktop.org/wiki/Software/Bustle/"
license=('GPLv3')
groups=()
-depends=(ghc happy alex gtk2hs-buildtools haskell-cairo haskell-dbus haskell-glib haskell-gtk haskell-mtl haskell-pango haskell-parsec haskell-setlocale haskell-pcap haskell-hgettext haskell-gio)
-makedepends=(git)
+depends=(libdbus glib2 libpcap)
+makedepends=(git pkg-config )
provides=(${_bpn})
conflicts=(${_bpn})
replaces=()
@@ -26,23 +26,13 @@ pkgver() {
build() {
cd "$pkgname"
- runhaskell Setup configure -O --prefix=/usr "--docdir=/usr/share/doc/${pkgname}" --datasubdir="$pkgname"
- runhaskell Setup build
-}
-
-_ghcver_set() {
- local _i
- _ghcver=`pacman -Q ghc | cut -f2 -d\ | cut -f1 -d-`
- depends[0]="ghc=$_ghcver"
+ make
}
package() {
- _ghcver_set
cd "$pkgname"
-
- runhaskell Setup copy --destdir=${pkgdir}
- install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
- rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE
+ install -Dm755 dist/build/bustle-pcap ${pkgdir}/usr/bin/bustle-pcap
+ install -Dm644 bustle-pcap.1 ${pkgdir}/usr/share/man/man1/bustle-pcap.1
}
# vim:set ts=2 sw=2 et: