diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2eea2c69a95a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,60 @@ +# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> + +pkgname=xterm-git +pkgver=r1214.g4b77a49 +pkgrel=1 +pkgdesc="Terminal emulator for the X Window System" +arch=('i686' 'x86_64') +url="https://invisible-island.net/xterm/" +license=('custom') +depends=('glibc' 'libutempter' 'libxaw' 'libxft' 'libxkbfile' 'ncurses' 'xbitmaps' 'xorg-luit') +makedepends=('git') +provides=('xterm') +conflicts=('xterm') +options=('staticlibs') +source=("git+https://github.com/ThomasDickey/xterm-snapshots.git") +sha256sums=('SKIP') + + +pkgver() { + cd "xterm-snapshots" + + _rev=$(git rev-list --count --all) + _hash=$(git rev-parse --short HEAD) + printf "r%s.g%s" "$_rev" "$_hash" +} + +build() { + cd "xterm-snapshots" + + ./configure \ + --prefix="/usr" \ + --libdir="/etc" \ + --mandir="/usr/share/man" \ + --with-app-defaults="/usr/share/X11/app-defaults/" \ + --disable-full-tgetent \ + --disable-imake \ + --enable-broken-osc \ + --enable-dabbrev \ + --enable-exec-xterm \ + --enable-load-vt-fonts \ + --enable-logging \ + --enable-mini-luit \ + --enable-narrowproto \ + --enable-regis-graphics \ + --enable-sixel-graphics \ + --with-tty-group=tty \ + --with-utempter \ + --with-x + make +} + +package() { + cd "xterm-snapshots" + + make DESTDIR="$pkgdir" install + + install -Dm644 "xterm.desktop" -t "$pkgdir/usr/share/applications" + install -Dm644 "uxterm.desktop" -t "$pkgdir/usr/share/applications" + install -Dm644 "COPYING" -t "$pkgdir/usr/share/licenses/xterm" +} |