[arch-commits] Commit in libforensic1394/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 19:55:05 UTC 2020
Date: Thursday, November 12, 2020 @ 19:55:05
Author: foutrelis
Revision: 753683
archrelease: copy trunk to community-staging-x86_64
Added:
libforensic1394/repos/community-staging-x86_64/
libforensic1394/repos/community-staging-x86_64/PKGBUILD
(from rev 753682, libforensic1394/trunk/PKGBUILD)
----------+
PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
Copied: libforensic1394/repos/community-staging-x86_64/PKGBUILD (from rev 753682, libforensic1394/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-12 19:55:05 UTC (rev 753683)
@@ -0,0 +1,56 @@
+# 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=6
+pkgdesc='Library for performing live memory forensics over the IEEE 1394 (FireWire) interface'
+url='https://freddie.witherden.org/tools/libforensic1394/'
+arch=('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
+
+ # https://github.com/FreddieWitherden/libforensic1394/issues/2
+ sed -i 's/-Werror //' CMakeLists.txt
+}
+
+build() {
+ cd ${pkgbase}-${pkgver}/build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ make
+
+ cd ../python
+ python setup.py build
+ python2 setup.py build
+}
+
+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