summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-01 03:34:07 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-01 03:34:07 +0000
commite326bc7715fc98496e1c1c7bf8335d93b83f1ffa (patch)
treed09e1208f5466dac44e255323f7ddcde49aa0e2a /pcr
parent498f3c08a331f2e2a4a2cb58cb3f3320f24cefe8 (diff)
Sat Mar 1 03:31:51 UTC 2014
Diffstat (limited to 'pcr')
-rw-r--r--pcr/httrack/PKGBUILD35
-rw-r--r--pcr/httrack/httrack.install12
2 files changed, 47 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}/
+}
+
diff --git a/pcr/httrack/httrack.install b/pcr/httrack/httrack.install
new file mode 100644
index 000000000..029294d67
--- /dev/null
+++ b/pcr/httrack/httrack.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}