diff options
author | mrxx | 2015-07-07 14:43:48 +0200 |
---|---|---|
committer | Lukas Fleischer | 2015-07-08 13:25:35 +0200 |
commit | 1490f32c8700394a374fab225d8cbed7826b6533 (patch) | |
tree | 5365bccfbc72c883cec287b2ebe631a634d25339 | |
download | aur-qtmib.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7313f1dc25ca --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = qtmib + pkgdesc = Easy-to-use SNMPv1 and SNMPv2c MIB Browser written in QT4 + pkgver = 1.1.1 + pkgrel = 1 + url = http://qtmib.sourceforge.net/ + arch = i686 + arch = x86_64 + license = GPL2 + depends = qt4 + depends = net-snmp + source = http://downloads.sourceforge.net/qtmib/qtmib-1.1.1.tar.bz2 + md5sums = 1715ae9c88e1f0d355f9a93b3248455e + +pkgname = qtmib + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..11af0e07ca90 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: mrxx <mrxx at cyberhome dot at> + +pkgname=qtmib +pkgver=1.1.1 +pkgrel=1 +pkgdesc="Easy-to-use SNMPv1 and SNMPv2c MIB Browser written in QT4" +arch=('i686' 'x86_64') +url="http://qtmib.sourceforge.net/" +license=('GPL2') +depends=('qt4' 'net-snmp') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2) +md5sums=('1715ae9c88e1f0d355f9a93b3248455e') + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr + for dir in src/*; do [ -f $dir/*.pro ] && qmake-qt4 -makefile $dir/*.pro -o $dir/Makefile; done + make all -j +} + +package() { + cd "$pkgname-$pkgver" + make prefix="" PREFIX="" DESTDIR="$pkgdir/usr/" install +} |