summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Manouchehri2017-04-23 18:19:00 -0400
committerDavid Manouchehri2017-04-23 18:19:00 -0400
commit31c813fd5dad22dc82f53cbe91ee2b188c486732 (patch)
tree47bfad026471dd9c04e58d1235133505d7696197
parent9cee1b6f87e112ed34c8d0e2c24ce5aee9f20ad0 (diff)
downloadaur-31c813fd5dad22dc82f53cbe91ee2b188c486732.tar.gz
Fixed URL.
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD24
2 files changed, 15 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9b697600990..727d946a71f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,15 +2,15 @@ pkgbase = html2pdf
pkgdesc = An gui HTML to PDF Converter 1.0
pkgver = 1.0
pkgrel = 1
- url = https://code.google.com/p/foxoman
+ url = https://code.google.com/archive/p/foxoman/
arch = any
license = GPL3
depends = wkhtmltopdf
depends = python2
depends = python2-gobject
depends = python2-notify
- source = http://foxoman.googlecode.com/files/html2pdf_1.0-1_all.deb
- md5sums = f1e1ab6a2887192741591fd1b0152dc0
+ source = https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/foxoman/html2pdf_1.0-1_all.deb
+ sha512sums = e7b7903082058d7bc100b97071a51d10def4f4dd13b9d5410d1fbc73a75a91fe578e6be2fa104337f0625960162e5af7b2b030b0c0797c83e15e3965a23a4d03
pkgname = html2pdf
diff --git a/PKGBUILD b/PKGBUILD
index f1d38005daa..84de969f7de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,22 @@
+# Maintainer: David Manouchehri
pkgname=html2pdf
-pkgver=1.0
-pkgrel=1
pkgdesc="An gui HTML to PDF Converter 1.0 "
-url="https://code.google.com/p/foxoman"
+url="https://code.google.com/archive/p/foxoman/"
license=('GPL3')
+pkgver=1.0
+pkgrel=1
+source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/foxoman/${pkgname}_${pkgver}-${pkgrel}_all.deb")
depends=('wkhtmltopdf' 'python2' 'python2-gobject' 'python2-notify' )
+sha512sums=('e7b7903082058d7bc100b97071a51d10def4f4dd13b9d5410d1fbc73a75a91fe578e6be2fa104337f0625960162e5af7b2b030b0c0797c83e15e3965a23a4d03')
arch=('any')
-source=("http://foxoman.googlecode.com/files/${pkgname}_${pkgver}-${pkgrel}_all.deb")
-md5sums=('f1e1ab6a2887192741591fd1b0152dc0')
-#noextract=("${pkgname}-${pkgver}-common.deb")
package() {
- cd $srcdir
- #mkdir ${pkgname}-${pkgver}
- ar x "${pkgname}_${pkgver}-${pkgrel}_all.deb"
- tar xvf data.tar.gz
- sed -i "s/^python /python2 /" $srcdir/usr/bin/html2pdf
- cp -rp usr $pkgdir
+ cd "${srcdir}/"
+ ar x "${pkgname}_${pkgver}-${pkgrel}_all.deb"
+ tar xvf "data.tar.gz"
+ sed -i "s/^python /python2 /" "${srcdir}/usr/bin/html2pdf"
+ cp -rp usr "${pkgdir}"
}
+# vim:set et sw=2 sts=2 tw=80: