updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ccfe / PKGBUILD
blob5d265cc2a1b29e7ac92d8dc42344192714237093
1 # Maintainer: Otto Sabart <seberm[at]gmail[dot]com>
3 pkgname=ccfe
4 pkgver=1.53
5 pkgrel=1
6 pkgdesc="Is a tool to quickly supply an interactive screen-oriented interface to command line scripts and commands."
7 url="http://ccfe.altervista.org"
8 arch=('i686' 'x86_64')
9 license=('GPLv2')
10 depends=('perl>=5.8.0' 'perl-curses>=1.12')
11 optdepends=()
12 makedepends=()
13 conflicts=()
14 replaces=()
15 backup=()
16 #install=''
17 source=("${pkgname}.tar.gz::http://ccfe.altervista.org/dnload/dnload.php?fname=${pkgname}-${pkgver}.tar.gz" 'ccfeinstall.conf' 'ccfe.patch')
19 md5sums=('a4fba1d1705535bbba1935370594ec75'
20          '9f78a2fa9c90676d60fa9cae28393733'
21          '717feb06db74a72f136ca02bd4d69245')
23 build() {
24         
25         cd "${srcdir}/${pkgname}-${pkgver}"
26     ./install.sh -b -p "${pkgdir}/usr" \
27                     -c "${pkgdir}/etc/${pkgname}" \
28                     -o "${pkgdir}/var/log/${pkgname}" \
29                     -d "${pkgdir}/usr/share/doc" \
30                     -a "${pkgdir}/usr/share/man" \
31                     -m "${pkgdir}/usr/share/${pkgname}/msg"
33     mv "${srcdir}/ccfeinstall.conf" "${pkgdir}/etc/${pkgname}/ccfeinstall.conf"
35     echo "Patching ..."
36     patch -p1 -i "${srcdir}/${pkgname}.patch" --directory "${pkgdir}/usr/bin/"