diff options
author | ShadowKyogre | 2015-08-13 10:46:59 -0700 |
---|---|---|
committer | ShadowKyogre | 2015-08-13 10:52:07 -0700 |
commit | 4b71d17c6703f4ca327c704c5c0ded1f5077a582 (patch) | |
tree | e76942d9f2c90935428943bd5e3cf4106a78be10 | |
download | aur-4b71d17c6703f4ca327c704c5c0ded1f5077a582.tar.gz |
Export from AUR3 to AUR4
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 40 | ||||
-rw-r--r-- | httraqt.install | 12 |
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c2732c2ef7aa --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = httraqt + pkgdesc = Is the clone from WinHTTrack tool. GUI is based on Qt4 libriaries. + pkgver = 1.4.4 + pkgrel = 1 + url = http://qt-apps.org/content/show.php/HTTraQt?content=155711 + install = httraqt.install + arch = i686 + arch = x86_64 + license = GPL + makedepends = cmake + makedepends = automoc4 + makedepends = gcc + depends = qt4 + depends = httrack>=3 + source = http://freefr.dl.sourceforge.net/project/httraqt/httraqt-1.4.4.tar.gz + md5sums = 194c099768499c12c432b6db0132f488 + +pkgname = httraqt + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1e775c638323 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Contributer: giacomogiorgianni@gmail.com + +pkgname=httraqt +name=HTTraQt +pkgver=1.4.4 +pkgrel=1 +pkgdesc="Is the clone from WinHTTrack tool. GUI is based on Qt4 libriaries." +arch=('i686' 'x86_64') +url="http://qt-apps.org/content/show.php/HTTraQt?content=155711" +depends=('qt4' 'httrack>=3') +makedepends=('cmake' 'automoc4' 'gcc') +source=("http://freefr.dl.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.gz") +#options=('!strip') +license=('GPL') +install=${pkgname}.install +md5sums=('194c099768499c12c432b6db0132f488') + +build() { + cd "${srcdir}/$pkgname" + [ -d build ] && rm -rf build + mkdir build + cd build + #sed -i "71s|includes|include|g" CMakeLists.txt + #sed -i "295s|opt->mms_maxtime|//opt->mms_maxtime|g" ${srcdir}/$pkgname/sources/main/options.cpp + #cd build + cmake -DQT_QMAKE_EXECUTABLE=qmake-qt4 -DCMAKE_INSTALL_PREFIX=/usr .. + make clean && make +} + +package() { + cd "${srcdir}/${pkgname}/build" + #mkdir -p ${pkgdir}/usr/{bin,share/{applications,pixmaps,$pkgname}} + #install -p -m755 "$pkgname" "${pkgdir}/usr/bin/$pkgname" + #cp -r {lang,help} "${pkgdir}/usr/share/$pkgname" + #install -p -m644 "desktop/$pkgname.desktop" "${pkgdir}/usr/share/applications/" + #install -Dm644 "sources/icons/$pkgname-32.xpm" "$pkgdir/usr/share/pixmaps/$pkgname-32.xpm" + make DESTDIR="$pkgdir" install + install -m 0755 ${srcdir}/${pkgname}/build/$pkgname $pkgdir/usr/bin/ + #mv $pkgdir/usr/share/httraqt/help $pkgdir/usr/share/doc/ +} diff --git a/httraqt.install b/httraqt.install new file mode 100644 index 000000000000..c929b541c726 --- /dev/null +++ b/httraqt.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}
\ No newline at end of file |