mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
|
#
|
||
|
# Chakra Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||
|
|
||
|
# include global config
|
||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||
|
|
||
|
pkgname=w3m
|
||
|
pkgver=0.5.2
|
||
|
pkgrel=5
|
||
|
pkgdesc="A pager/text-based WWW browser"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://w3m.sourceforge.net/"
|
||
|
license=('custom')
|
||
|
depends=('openssl' 'gc>=7.0' 'ncurses' 'zlib')
|
||
|
makedepends=('imlib2')
|
||
|
optdepends=('imlib2: for graphics support')
|
||
|
source=(http://downloads.sourceforge.net/sourceforge/w3m/$pkgname-$pkgver.tar.gz)
|
||
|
md5sums=('ba06992d3207666ed1bf2dcf7c72bf58')
|
||
|
sha1sums=('484522547ae6dbb342d3858a2a53a65451e273f9')
|
||
|
|
||
|
build() {
|
||
|
cd "$srcdir/$pkgname-$pkgver"
|
||
|
./configure --prefix=/usr --libexecdir=/usr/lib --enable-ansi-color \
|
||
|
--disable-mouse --disable-w3mmailer --enable-image=x11,fb \
|
||
|
--with-imagelib=imlib2 --with-termlib=ncurses || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR="${pkgdir}" install || return 1
|
||
|
install -Dm644 doc/README "${pkgdir}/usr/share/licenses/$pkgname/README"
|
||
|
}
|