From f74ab65216844ba2fb00b62d0301ab15678e0538 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Thu, 31 Dec 2020 19:57:15 +0100 Subject: [PATCH] git subrepo clone https://aur.archlinux.org/librtprocess subrepo: subdir: "librtprocess" merged: "371859d" upstream: origin: "https://aur.archlinux.org/librtprocess" branch: "master" commit: "371859d" git-subrepo: version: "0.4.1" origin: "???" commit: "???" --- librtprocess/.SRCINFO | 17 +++++++++++++++++ librtprocess/.gitrepo | 12 ++++++++++++ librtprocess/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 librtprocess/.SRCINFO create mode 100644 librtprocess/.gitrepo create mode 100644 librtprocess/PKGBUILD diff --git a/librtprocess/.SRCINFO b/librtprocess/.SRCINFO new file mode 100644 index 0000000..e15c071 --- /dev/null +++ b/librtprocess/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = librtprocess + pkgdesc = Library for raw image processing + pkgver = 0.11.0 + pkgrel = 1 + url = https://github.com/CarVac/librtprocess + arch = i686 + arch = pentium4 + arch = x86_64 + license = GPL3 + makedepends = cmake + makedepends = openmp + depends = gcc-libs + source = librtprocess-0.11.0.tar.gz::https://github.com/CarVac/librtprocess/archive/0.11.0.tar.gz + sha512sums = 49f1d4c3c8915fec60e554fff2d6d7e821778217ecabb4f9c49438101ecf9bf6ecbd55cd6dda5efd69106d841d3bb47a9cb4497880923395e7aa621cce4a0f8d + +pkgname = librtprocess + diff --git a/librtprocess/.gitrepo b/librtprocess/.gitrepo new file mode 100644 index 0000000..f6f04ad --- /dev/null +++ b/librtprocess/.gitrepo @@ -0,0 +1,12 @@ +; DO NOT EDIT (unless you know what you are doing) +; +; This subdirectory is a git "subrepo", and this file is maintained by the +; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme +; +[subrepo] + remote = https://aur.archlinux.org/librtprocess + branch = master + commit = 371859de66bbc25db2146940968d11bbbb2a0e1e + parent = bb088f172ba71173faa2d9661beaec5169f01e36 + method = merge + cmdver = 0.4.1 diff --git a/librtprocess/PKGBUILD b/librtprocess/PKGBUILD new file mode 100644 index 0000000..8f8050a --- /dev/null +++ b/librtprocess/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Tércio Martins + +pkgname=librtprocess +pkgver=0.11.0 +pkgrel=1 +arch=('i686' 'pentium4' 'x86_64') +pkgdesc="Library for raw image processing" +url="https://github.com/CarVac/librtprocess" +license=('GPL3') +depends=('gcc-libs') +makedepends=('cmake' 'openmp') +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") +sha512sums=('49f1d4c3c8915fec60e554fff2d6d7e821778217ecabb4f9c49438101ecf9bf6ecbd55cd6dda5efd69106d841d3bb47a9cb4497880923395e7aa621cce4a0f8d') + +prepare() { + cd $pkgname-$pkgver + if [ -d build ] + then + rm -rf build + fi + + mkdir build +} + +build() { + cd $pkgname-$pkgver/build + cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + .. + make +} + +package() { + cd $pkgname-$pkgver/build + make DESTDIR="$pkgdir" install +}