summaryrefslogtreecommitdiff
path: root/pcr/httrack/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/httrack/PKGBUILD')
-rw-r--r--pcr/httrack/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/pcr/httrack/PKGBUILD b/pcr/httrack/PKGBUILD
new file mode 100644
index 000000000..4d40153ef
--- /dev/null
+++ b/pcr/httrack/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer : Marcos Heredia <chelqo@gmail.com>
+# Contributor: Joris Steyn <jorissteyn@gmail.com>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: Roman Kyrylych <roman@archlinux.org>
+# Contributor: 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')
+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}/
+}
+