blob: 438c1207a9fcb3092ed6720d3900d7b9bd618b8c (
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
30
|
# Contributor: Lee Hinman <hinman@gmail.com>
# Maintainer: Cág <ca6c@bitmessage.ch>
pkgname=mg
pkgver=20180824
pkgrel=0
pkgdesc="microscopic EMACS style editor"
url="https://github.com/hboetes/mg"
arch="all"
license="Public-Domain"
depends=
makedepends="ncurses-dev libbsd-dev bsd-compat-headers"
install=
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/hboetes/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
make prefix=/usr mandir=/usr/share/man
}
package() {
cd "$builddir"
make INSTALL=install DESTDIR="$pkgdir" prefix=/usr \
mandir=/usr/share/man install
install -Dm644 tutorial "$pkgdir"/usr/share/doc/$pkgname/tutorial
}
sha512sums="b829f0c0f1c747237c38a9d444e8f2cc1cf87c98d263f556dfc90cdc37a541ef76fb10a7e13c480233d0cbda7f7bd27aa1be93fd0655096be8da1603c36d10b1 mg-20180824.tar.gz"
|