mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 02:47:14 +08:00
html2text: rebuilt
This commit is contained in:
parent
b931c45365
commit
57cdda0d99
@ -1,23 +1,33 @@
|
|||||||
# $Id: PKGBUILD 5125 2009-11-06 16:14:08Z ibiru $
|
# Contributions from AUR: https://aur.archlinux.org/packages/html2text-with-utf8/
|
||||||
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
|
|
||||||
|
|
||||||
pkgname=html2text
|
pkgname=html2text
|
||||||
pkgver=1.3.2a
|
pkgver=1.3.2a
|
||||||
pkgrel=8
|
pkgrel=9
|
||||||
pkgdesc="A HTML to text converter"
|
pkgdesc="A HTML to text converter"
|
||||||
arch=('i686' 'x86_64')
|
arch=('x86_64')
|
||||||
url="http://www.mbayer.de/html2text"
|
url="http://www.mbayer.de/html2text"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
depends=('gcc-libs')
|
depends=('gcc-libs')
|
||||||
source=(http://ftp.ibiblio.org/pub/linux/apps/www/converters/$pkgname-$pkgver.tar.gz)
|
source=("http://www.mbayer.de/html2text/downloads/${pkgname}-${pkgver}.tar.gz"
|
||||||
md5sums=('6097fe07b948e142315749e6620c9cfc')
|
"http://www.mbayer.de/html2text/downloads/patch-utf8-${pkgname}-${pkgver}.diff")
|
||||||
|
sha256sums=('000b39d5d910b867ff7e087177b470a1e26e2819920dcffd5991c33f6d480392'
|
||||||
|
'be4e90094d2854059924cb2c59ca31a5e9e0e22d2245fa5dc0c03f604798c5d1')
|
||||||
|
|
||||||
build() {
|
prepare() {
|
||||||
cd $srcdir/$pkgname-$pkgver
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
./configure
|
patch -p1 < "${srcdir}/patch-utf8-html2text-1.3.2a.diff"
|
||||||
make || return 1
|
|
||||||
install -D -m 755 html2text $pkgdir/usr/bin/html2text
|
|
||||||
install -D -m 644 html2text.1.gz $pkgdir/usr/share/man/man1/html2text.1.gz
|
|
||||||
install -D -m 644 html2textrc.5.gz $pkgdir/usr/share/man/man5/html2textrc.5.gz
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
|
./configure
|
||||||
|
make -s -j $(nproc)
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
|
|
||||||
|
install -Dpm755 'html2text' "${pkgdir}/usr/bin/html2text"
|
||||||
|
install -Dpm644 'html2text.1.gz' "${pkgdir}/usr/share/man/man1/html2text.1.gz"
|
||||||
|
install -Dpm644 'html2textrc.5.gz' "${pkgdir}/usr/share/man/man5/html2textrc.5.gz"
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user