summaryrefslogtreecommitdiff
path: root/pcr/httrack/PKGBUILD
blob: d8f94516aeccc5412936609d192dc83fe335311f (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
# Contributor (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>
# Contributor (Arch): Muflone <webreg@vbsimple.net>
# Maintainer        : Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=httrack
pkgver=3.48.21
pkgrel=2
pkgdesc="An easy-to-use offline browser utility."
arch=('i686' 'x86_64')
url="http://www.httrack.com/"
license=('GPL')
depends=('bash' 'xdg-utils' 'hicolor-icon-theme' 'openssl')
options=('!libtool')
install="$pkgname.install"
source=("http://mirror.httrack.com/historical/$pkgname-$pkgver.tar.gz")
md5sums=('c2a2f44da400fe18fad6f98bac49a987')

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}/
}