summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlexander Phinikarides2019-08-06 12:59:30 +0300
committerAlexander Phinikarides2019-08-06 12:59:30 +0300
commite17bf7137aae5b9c8d6dc06026e9494e6bb24b05 (patch)
treefc03969eb2c17daf34594d7021ef48763638be2b /PKGBUILD
parent68553d4ca5efc119a0a6abaaedcb3cdabaab78d9 (diff)
downloadaur-e17bf7137aae5b9c8d6dc06026e9494e6bb24b05.tar.gz
adopted. used Arch Linux package from OBS
Signed-off-by: Alexander Phinikarides <alexisph@gmail.com>
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 13 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 065cd31c6de..9a4fa1d675c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,29 +4,28 @@
pkgname="lightzone"
pkgver=4.1.8
-pkgrel=1
+pkgrel=2
pkgdesc="A professional photo browser and editor, like Aperture or Lightroom"
url="http://lightzoneproject.org/"
-license=("custom")
-arch=("i686" "x86_64")
-depends=("javahelp2" "lcms2" "libjpeg-turbo" "libxml2")
+license=("custom:BSD-3-Clause")
+arch=("x86_64")
+depends=('jre7-openjdk'
+ 'javahelp2'
+ 'lcms2'
+ 'libjpeg-turbo'
+ 'libtiff'
+ 'libxml2')
-if [[ $CARCH == 'i686' ]]; then
- source=("${pkgname}-${pkgver}.deb::http://download.opensuse.org/repositories/home:/ktgw0316:/LightZone/Debian_7.0/i386/${pkgname}_${pkgver}-0obs1_i386.deb")
- md5sums=('a3ed17c004e78b3cf48b28b9ab838422')
-elif [[ $CARCH == 'x86_64' ]]; then
- source=("${pkgname}-${pkgver}.deb::http://download.opensuse.org/repositories/home:/ktgw0316:/LightZone/Debian_7.0/amd64/${pkgname}_${pkgver}-0obs1_amd64.deb")
- md5sums=('f49e838818f09637b438c27b3e61a371')
-fi
+source=("https://download.opensuse.org/repositories/home:/ktgw0316:/LightZone/Arch_Extra/x86_64/${pkgname}-${pkgver}-0-x86_64.pkg.tar.xz")
+md5sums=('563a2a43982c88d1c9be7b56f20cb124')
build() {
cd "${srcdir}"
- tar -xf data.tar.gz
+ tar -I xz -xf lightzone-4.1.8-0-x86_64.pkg.tar.xz
}
package() {
cd "${srcdir}"
-
-# Install
+ # Install
cp -dr --no-preserve=ownership ./usr "${pkgdir}"/
}