updated on Fri Jan 20 20:16:25 UTC 2012
[aur-mirror.git] / q7z / PKGBUILD
blob27e930bd9cdba809036cf64466a2f13eacdda4cb
1 # Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
3 pkgname=q7z
4 realname=Q7Z
5 oldname=k7z
6 pkgver=0.9.1
7 pkgrel=2
8 pkgdesc="An alternative 7-Zip GUI - replaced by the 'j7z' package"
9 arch=("any")
10 url=http://${realname}.Xavion.name
11 license=("LGPL3")
12 depends=("pyqt" "p7zip" "tar")
13 makedepends=("make")
14 optdepends=("p7zip-gui: The GUI component of P7Zip"
15                         "xz-utils: Supports XZ archives"
16                         "bzip2: Supports BZip2 archives"
17                         "gzip: Supports GZip archives")
18 conflicts=(${oldname})
19 replaces=(${oldname})
20 install="${realname}.install"
21 source=(http://prdownloads.sourceforge.net/${oldname}/${realname}-${pkgver}.tar.bz2)
23 build() {
24         cd "${srcdir}"/${realname}/Build
26         # Messages
27         warning "This application was replaced by J7Z, so install the 'j7z' package instead."
28         read -p "Are you sure that you want to continue building this package despite its deprecated status? [y/N] " -n 1
29         if [[ ! $REPLY =~ ^[Yy]$ ]]; then
30                 echo ""
31                 return 1
32         fi
34         #make uninstall
35         #make clean
36         make
39 package() {
40         cd "${srcdir}"/${realname}/Build
42         make DESTDIR="${pkgdir}" install
44         # Messages
45         msg "Seek further information or send feedback via the 'Help' menu."
48 sha1sums=('d6571cd7fe5acdb7863d50dad6700feefc534276')