summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRené Wagner2020-02-15 19:19:58 +0100
committerRené Wagner2020-02-15 19:19:58 +0100
commitc3f787492035a9f1e71e4fb5eb19e473ea4b881f (patch)
tree4b0dc2219c792d314950ed4ec7fd360825fd64a0
downloadaur-c3f787492035a9f1e71e4fb5eb19e473ea4b881f.tar.gz
create PKGBUILD for art-rawconverter
-rw-r--r--.SRCINFO31
-rw-r--r--PKGBUILD35
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5082149911a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,31 @@
+pkgbase = art-rawconverter
+ pkgdesc = Raw Converter forked from RawTherapee including blackfoxx-theme
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://bitbucket.org/agriggio/art/wiki/Home
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = cmake
+ makedepends = git
+ makedepends = gcc
+ makedepends = hicolor-icon-theme
+ depends = lensfun
+ depends = exiv2
+ depends = fftw
+ depends = gtk3
+ depends = glibmm
+ depends = gtkmm3
+ depends = lcms2
+ depends = libcanberra
+ depends = libiptcdata
+ depends = desktop-file-utils
+ provides = art-rawconverter
+ conflicts = art-rawconverter
+ source = art-rawconverter_1.0::git+https://bitbucket.org/agriggio/art.git#tag=1.0
+ source = bft_20.zip::https://discuss.pixls.us/uploads/short-url/fG7iCaIWBWBem30O67V15EfO521.zip
+ sha256sums = SKIP
+ sha256sums = 7381c57e48b1437bec6b775029370f99f6fc14eced53678972e9f0b7e02a4346
+
+pkgname = art-rawconverter
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2e4e00ac797
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: René Wagner <rwagner at rw-net dot de>
+pkgname=art-rawconverter
+pkgver=1.0
+pkgrel=1
+pkgdesc="Raw Converter forked from RawTherapee including blackfoxx-theme"
+arch=('i686' 'x86_64')
+url="https://bitbucket.org/agriggio/art/wiki/Home"
+license=('GPL3')
+depends=('lensfun' 'exiv2' 'fftw' 'gtk3' 'glibmm' 'gtkmm3' 'lcms2' 'libcanberra' 'libiptcdata' 'desktop-file-utils')
+makedepends=('cmake' 'git' 'gcc' 'hicolor-icon-theme')
+provides=('art-rawconverter')
+conflicts=('art-rawconverter')
+source=("${pkgname}_${pkgver}::git+https://bitbucket.org/agriggio/art.git#tag=${pkgver}" "bft_20.zip::https://discuss.pixls.us/uploads/short-url/fG7iCaIWBWBem30O67V15EfO521.zip")
+sha256sums=('SKIP' '7381c57e48b1437bec6b775029370f99f6fc14eced53678972e9f0b7e02a4346')
+
+build() {
+ cp "$srcdir/blackfoxx-GTK3-20_.css" "$srcdir/${pkgname}_${pkgver}/rtdata/themes"
+
+ mkdir -p "$srcdir/${pkgname}_${pkgver}_build"
+ cd "$srcdir/${pkgname}_${pkgver}_build"
+
+ cmake "../${pkgname}_${pkgver}" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DPROC_TARGET_NUMBER="2" \
+ -DWITH_LTO="ON"
+
+ NPROC=$(getconf _NPROCESSORS_ONLN)
+ make -j${NPROC}
+}
+
+package() {
+ cd "$srcdir/${pkgname}_${pkgver}_build"
+ make DESTDIR="$pkgdir/" install
+}