updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / j7z / PKGBUILD
blobbd2d33345d13daa02cde8831d084bfd4e1b85f05
1 # Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
3 pkgname=j7z
4 realname=J7Z
5 oldname=q7z
6 oldername=k7z
7 pkgver=1.1.5
8 pkgrel=1
9 pkgdesc="An alternative 7-Zip GUI"
10 arch=("any")
11 url=http://${realname}.Xavion.name
12 license=("LGPL3")
13 depends=("java-runtime>=6" "p7zip")
14 #makedepends=("make" "apache-ant" "java-environment>=6")
15 makedepends=("make")
16 optdepends=("p7zip-gui: Smooth progress bar"
17                         "gtk-kde4: KDE style support"
18                         "oxygen-gtk: Native 'Oxygen' style"
19                         "tar: Supports POSIX attributes"
20                         "bsdtar: Supports POSIX attributes"
21                         "gzip: Supports GZip archives"
22                         "bzip2: Supports BZip2 archives"
23                         "xz-utils: Supports XZ archives")
24 conflicts=(${oldname} ${oldername})
25 replaces=(${oldname} ${oldername})
26 install="${realname}.install"
27 #source=(http://prdownloads.sourceforge.net/${oldername}/${realname}-${pkgver}-src.tar.bz2)
28 source=(http://prdownloads.sourceforge.net/${oldername}/${realname}-${pkgver}-bin.tar.bz2)
30 build() {
31         cd "${srcdir}"/${realname}/Build
33         # Environment
34         source /etc/profile.d/jre.sh || source /etc/profile.d/openjdk6.sh
35         #source /etc/profile.d/apache-ant.sh
37         #make uninstall
38         #make clean
39         make
42 package() {
43         cd "${srcdir}"/${realname}/Build
45         make DESTDIR="${pkgdir}" install
47         # Messages
48         msg "Seek further information or send feedback via the 'Help' menu."
51 #sha1sums=('809002b01e6eb171037dab1d2f596b49a57a83cf')
52 sha1sums=('cfb4433bec8d615e07663684e7d49dd8ad904714')