mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
39 lines
1.3 KiB
Bash
39 lines
1.3 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=elinks
|
|
pkgver=0.13
|
|
pkgrel=1
|
|
pkgdesc="An advanced and well-established feature-rich text mode web browser."
|
|
arch=("i686" "x86_64")
|
|
url="http://elinks.or.cz"
|
|
license=('GPL')
|
|
depends=('bzip2' 'expat>=2.0' 'gpm>=1.20.4' 'openssl' 'lua>=5.1.1' 'libidn' 'spidermonkey>=1.7.0' 'gc' 'tre' 'smbclient')
|
|
categories=('network')
|
|
source=("http://elinks.or.cz/download/$pkgname-current-$pkgver.tar.gz"
|
|
"${pkgname}.desktop")
|
|
md5sums=('30a50b218976247302b4f4c68797499d'
|
|
'ef70f6bb7457799a979fb201615369e6')
|
|
|
|
build() {
|
|
cd elinks || cd `find $srcdir -maxdepth 1 -type d -name elinks-$pkgver\*`
|
|
|
|
./configure --prefix=/usr --mandir=/usr/share/man \
|
|
--sysconfdir=/etc \
|
|
--enable-smb --without-x --enable-cgi \
|
|
--enable-leds --enable-256-colors --enable-html-highlight \
|
|
--without-zlib
|
|
make
|
|
make DESTDIR=${pkgdir} install
|
|
rm -f ${pkgdir}/usr/share/locale/locale.alias
|
|
|
|
install -D -m644 ${srcdir}/${pkgname}.desktop \
|
|
${pkgdir}/usr/share/applications/${pkgname}.desktop
|
|
}
|