mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
32 lines
953 B
Bash
32 lines
953 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Hannes Rist <hrist@phreeknet.org>
|
|
|
|
pkgname=mg
|
|
pkgver=20090107
|
|
pkgrel=2
|
|
pkgdesc="mg is Micro GNU/emacs, this is a portable version of the mg maintained by the OpenBSD team."
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.han.dds.nl/software/mg/"
|
|
depends=('ncurses')
|
|
license=('custom')
|
|
options=(!libtool)
|
|
source=(http://www.dds.nl/~han/software/mg/mg-$pkgver.tar.gz
|
|
README)
|
|
md5sums=('f25a139da44c3a2f760ffec531bd996e'
|
|
'8cc5195ad4fabcf7c6782764f9617748')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
|
|
./configure
|
|
|
|
make prefix=/usr || return 1
|
|
|
|
mkdir -p $startdir/pkg/usr/bin
|
|
make install INSTALL=/bin/install prefix=$startdir/pkg/usr || return 1
|
|
|
|
mkdir -p $startdir/pkg/usr/share/ && \
|
|
mv $startdir/pkg/usr/man $startdir/pkg/usr/share/ && \
|
|
install -D -m0644 $srcdir/README $pkgdir/usr/share/licenses/$pkgname/README
|
|
}
|