summaryrefslogtreecommitdiff
path: root/extra/xorg-xedit/PKGBUILD
blob: 0246a8ce375a6647c9227848323907f8b6908cc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id: PKGBUILD 175085 2013-01-13 09:47:49Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xedit
pkgver=1.2.1
pkgrel=1
pkgdesc="Simple text editor for X"
arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxmu' 'libxt' 'libx11')
makedepends=('xorg-util-macros')
source=(http://xorg.freedesktop.org/archive/individual/app/xedit-${pkgver}.tar.bz2)
sha256sums=('89b0b0f86b0b5ab2898ee669d394b28c6ac5a9a53f8fae1726ba5664cd36c98e')

build() {
  cd "${srcdir}/xedit-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/xedit-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}