summaryrefslogtreecommitdiff
path: root/pcr/httrack/PKGBUILD
blob: 771fdfd8133f16d6ecfd8a09156d370836245c27 (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
# Maintainer (Arch): Marcos Heredia <chelqo@gmail.com>
# Contributor (Arch): Joris Steyn <jorissteyn@gmail.com>
# Contributor (Arch): speps <speps at aur dot archlinux dot org>
# Contributor (Arch): Roman Kyrylych <roman@archlinux.org>
# Contributor (Arch): orelien <aurelien.foret@wanadoo.fr>

pkgname=httrack
pkgver=3.47.27
pkgrel=1
pkgdesc="An easy-to-use offline browser utility."
arch=('i686' 'x86_64' 'mips64el')
url="http://www.httrack.com/"
license=('GPL3')
depends=('bash' 'xdg-utils' 'hicolor-icon-theme' 'openssl')
options=('!libtool')
install="$pkgname.install"
source=("http://download.httrack.com/$pkgname-$pkgver.tar.gz")
md5sums=('60a47cbda7775fdbe21802061a9ed47a')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --enable-static=no
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
  _docdir=${pkgdir}/usr/share/doc/${pkgname}
  _licdir=${pkgdir}/usr/share/licenses/${pkgname}
  install -dpm755 ${_docdir} ${_licdir}
  install -Dpm644 AUTHORS INSTALL* README ${_docdir}/
  install -Dpm644 COPYING license.txt ${_licdir}/
}