[arch-commits] Commit in (4 files)

Levente Polyak anthraxx at archlinux.org
Mon Jan 18 17:08:18 UTC 2016


    Date: Monday, January 18, 2016 @ 18:08:18
  Author: anthraxx
Revision: 157541

addpkg: libforensic1394 0.2-2

Added:
  libforensic1394/
  libforensic1394/repos/
  libforensic1394/trunk/
  libforensic1394/trunk/PKGBUILD

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

Added: libforensic1394/trunk/PKGBUILD
===================================================================
--- libforensic1394/trunk/PKGBUILD	                        (rev 0)
+++ libforensic1394/trunk/PKGBUILD	2016-01-18 17:08:18 UTC (rev 157541)
@@ -0,0 +1,48 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sirat18 <aur at sirat18.de>
+# Contributor: Frédérik Paradis <fredy14[at]gmail[dot]com>
+
+pkgbase=libforensic1394
+pkgname=('libforensic1394' 'python-libforensic1394' 'python2-libforensic1394')
+pkgver=0.2
+pkgrel=2
+pkgdesc='Library for performing live memory forensics over the IEEE 1394 (FireWire) interface'
+url='https://freddie.witherden.org/tools/libforensic1394/'
+arch=('i686' 'x86_64')
+license=('LGPL3')
+makedepends=('cmake' 'glibc' 'python' 'python2')
+source=(https://freddie.witherden.org/tools/libforensic1394/releases/${pkgname}-${pkgver}.tar.gz{,.sig})
+sha512sums=('184434037388f6f1d7a028c81d3c9101b20200b2444e28d5e007c34204ba58e71fb0db8cb1406063f0d4fe06bca80a1795e5a44d7eae52fa1c227f0b0cbf5dbd'
+            'SKIP')
+validpgpkeys=('509E82C45B8EE8D9926B395CFC9F4433FBA8A957') # Freddie Witherden <freddie at witherden.org>
+
+prepare() {
+  cd ${pkgbase}-${pkgver}
+  mkdir build
+}
+
+build() {
+  cd ${pkgbase}-${pkgver}/build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+}
+
+package_libforensic1394() {
+  depends=('glibc')
+  cd ${pkgbase}-${pkgver}/build
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 ../README -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+package_python-libforensic1394() {
+  depends=('python' 'libforensic1394')
+  cd ${pkgbase}-${pkgver}/python
+  python setup.py install --root="${pkgdir}" -O1
+}
+
+package_python2-libforensic1394() {
+  depends=('python2' 'libforensic1394')
+  cd ${pkgbase}-${pkgver}/python
+  python2 setup.py install --root="${pkgdir}" -O1
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list