summaryrefslogtreecommitdiff
path: root/extra/xorg-xedit/PKGBUILD
blob: 81c04f3b83f95baaf1e4e8c3779c9ba128d762ae (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 216237 2014-07-02 09:47:23Z fyan $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xedit
pkgver=1.2.1
pkgrel=2
pkgdesc="Simple text editor for X"
arch=('i686' 'x86_64')
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"
}