summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2616ce9a588fd90f602599891ef0c9cdd8fe75ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Maintainer: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>

pkgname=j7z
_filename_=J7Z
pkgver=1.4.2
pkgrel=1
pkgdesc="An alternative 7-Zip GUI"
url="https://${_filename_}.Xavion.name"
arch=("any")
license=("LGPL3")
depends=("java-runtime>=8" "p7zip")
#makedepends=("apache-ant" "java-environment>=8")
optdepends=("oxygen-gtk2: Native 'Oxygen' style"
		"gtk-kde4: KDE 4 style support"
		"tar: Supports POSIX attributes"
		"gzip: Supports GZip archives"
		"bzip2: Supports BZip2 archives"
		"xz: Supports XZ archives")
conflicts=("q7z" "k7z")
replaces=("q7z" "k7z")
install="${_filename_}.install"
#source=(https://prdownloads.sourceforge.net/k7z/${_filename_}-${pkgver}-src.tar.bz2)
source=(https://prdownloads.sourceforge.net/k7z/${_filename_}-${pkgver}-bin.tar.bz2)

build() {
	cd "${srcdir}"/${_filename_}/Linux/Build

	# Environment
	source /etc/profile.d/jre.sh || source /etc/profile.d/jdk.sh
	#source /etc/profile.d/apache-ant.sh

	#make uninstall
	#make clean
	make
}

package() {
	cd "${srcdir}"/${_filename_}/Linux/Build

	make Packaging=1 DESTDIR="${pkgdir}" install

	# Messages
	msg "Seek further information or send feedback via the 'Help' menu."
}

sha1sums=('e8380fd38f449da3dea5da1643475ae300bc3d22')