summaryrefslogtreecommitdiff
path: root/extra/joe/PKGBUILD
blob: c3a691612845d05808d8f735639298aaa085374d (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
27
28
29
# $Id: PKGBUILD 199794 2013-11-16 14:39:23Z thomas $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=joe
pkgver=3.7
pkgrel=4
pkgdesc="Joe's own editor"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/joe-editor"
license=('GPL')
depends=('ncurses')
optdepends=('gpm: console mouse support')
backup=('etc/joe/ftyperc' 'etc/joe/jicerc.ru' 'etc/joe/jmacsrc'
        'etc/joe/joerc' 'etc/joe/jpicorc' 'etc/joe/jstarrc' 'etc/joe/rjoerc')
source=("http://downloads.sourceforge.net/joe-editor/${pkgname}-${pkgver}.tar.gz")
md5sums=('66de1b073e869ba12abbfcde3885c577')
sha1sums=('54398578886d4a3d325aece52c308a939d31101d')

build() {
  cd "${srcdir}"/${pkgname}-${pkgver}

  ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man
  make
}

package() {
  cd "${srcdir}"/${pkgname}-${pkgver}

  make DESTDIR="${pkgdir}/" install
}