[arch-commits] Commit in w3m/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Gaëtan Bisson
bisson at archlinux.org
Fri May 10 02:27:29 UTC 2019
Date: Friday, May 10, 2019 @ 02:27:29
Author: bisson
Revision: 352801
archrelease: copy trunk to extra-x86_64
Added:
w3m/repos/extra-x86_64/PKGBUILD
(from rev 352800, w3m/trunk/PKGBUILD)
Deleted:
w3m/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 48 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-10 02:27:04 UTC (rev 352800)
+++ PKGBUILD 2019-05-10 02:27:29 UTC (rev 352801)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: dorphell <dorphell at archlinux.org>
-
-pkgname=w3m
-_gitcommit=a58f37c94f118105b21be6323615673cf96535ac
-pkgver=0.5.3.git20180125
-pkgrel=1
-pkgdesc='Text-based Web browser as well as pager'
-url='https://salsa.debian.org/debian/w3m'
-license=('custom')
-arch=('x86_64')
-makedepends=('git' 'imlib2')
-optdepends=('imlib2: for graphics support')
-depends=('openssl' 'gc' 'ncurses' 'gpm')
-source=("git+https://salsa.debian.org/debian/w3m.git#commit=${_gitcommit}")
-sha256sums=('SKIP')
-
-# There's also the maintainer's github repo, usually in sync with Debian's:
-# https://github.com/tats/w3m
-
-build() {
- cd "${srcdir}/${pkgname}"
- ./configure \
- --prefix=/usr \
- --libexecdir=/usr/lib \
- --enable-image=x11,fb \
- --with-imagelib=imlib2 \
- --with-termlib=ncurses \
- --disable-w3mmailer \
-
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}"
- make DESTDIR="${pkgdir}" install
-
- install -d "${pkgdir}"/usr/share/{doc,licenses}/w3m
- install -m644 doc/* "${pkgdir}/usr/share/doc/w3m"
- ln -s ../../doc/w3m/README "${pkgdir}/usr/share/licenses/w3m"
-}
Copied: w3m/repos/extra-x86_64/PKGBUILD (from rev 352800, w3m/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-10 02:27:29 UTC (rev 352801)
@@ -0,0 +1,48 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: dorphell <dorphell at archlinux.org>
+
+pkgname=w3m
+_gitcommit=8e7ee747af00f1a009da42e9633203ea1f7c705e
+pkgver=0.5.3.git20190105
+pkgrel=1
+pkgdesc='Text-based Web browser as well as pager'
+url='https://salsa.debian.org/debian/w3m'
+license=('custom')
+arch=('x86_64')
+makedepends=('git' 'imlib2')
+optdepends=('imlib2: for graphics support')
+depends=('openssl' 'gc' 'ncurses' 'gpm')
+source=("git+https://salsa.debian.org/debian/w3m.git#commit=${_gitcommit}")
+sha256sums=('SKIP')
+
+# There's also the maintainer's github repo, usually in sync with Debian's:
+# https://github.com/tats/w3m
+
+prepare() {
+ cd "${srcdir}/${pkgname}"
+ patch -p1 -i debian/patches/010_upstream.patch
+ patch -p1 -i debian/patches/020_debian.patch
+ rm -fr doc/CVS
+}
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --enable-image=x11,fb \
+ --with-imagelib=imlib2 \
+ --with-termlib=ncurses \
+ --disable-w3mmailer \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ make DESTDIR="${pkgdir}" install
+
+ install -d "${pkgdir}"/usr/share/{doc,licenses}/w3m
+ install -m644 doc/* "${pkgdir}/usr/share/doc/w3m"
+ ln -s ../../doc/w3m/README "${pkgdir}/usr/share/licenses/w3m"
+}
More information about the arch-commits
mailing list