desktop/xterm/PKGBUILD

62 lines
1.7 KiB
Bash
Raw Normal View History

2014-06-30 14:53:00 +08:00
# Maintainer: Jeff Huang <s8321414 at gmail.com>
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
pkgname=xterm
2014-07-27 21:26:06 +08:00
pkgver=310
2011-01-24 22:13:03 +08:00
pkgrel=1
pkgdesc="X Terminal Emulator"
2013-05-28 03:02:05 +08:00
arch=('x86_64')
url="http://invisible-island.net/xterm/"
license=('custom')
2013-05-28 03:02:05 +08:00
depends=('libxft' 'libxaw' 'ncurses' 'xorg-apps' 'xbitmaps' 'libutempter')
groups=('xorg')
categories=('system')
source=("ftp://invisible-island.net/${pkgname}/${pkgname}-${pkgver}.tgz"
LICENSE)
2014-07-27 21:26:06 +08:00
md5sums=('6bada32548b66a805e9c4475a6736b43'
'10ecc3f8ee91e3189863a172f68282d2')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--libdir=/etc \
--mandir=/usr/share/man \
--with-app-defaults=/usr/share/X11/app-defaults/ \
--with-x \
--disable-full-tgetent \
--disable-imake \
--enable-ansi-color \
--enable-88-color \
--enable-256-color \
--enable-broken-osc \
--enable-broken-st \
--enable-load-vt-fonts \
--enable-i18n \
--enable-wide-chars \
--enable-doublechars \
--enable-warnings \
--enable-tcap-query \
--enable-logging \
--enable-dabbrev \
--enable-freetype \
--enable-luit \
--enable-mini-luit \
--enable-narrowproto \
--enable-exec-xterm \
2013-05-28 03:02:05 +08:00
--with-tty-group=tty \
--with-utempter
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
chmod 0755 "${pkgdir}/usr/bin/xterm"
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 "${srcdir}/LICENSE" \
"${pkgdir}/usr/share/licenses/${pkgname}/"
2013-05-28 03:02:05 +08:00
install -m755 -d ${pkgdir}/usr/share/applications
install -m644 ${srcdir}/${pkgname}-${pkgver}/{xterm,uxterm}.desktop ${pkgdir}/usr/share/applications/
}