aboutsummaryrefslogtreecommitdiffstats
path: root/community/rcm/APKBUILD
blob: eb453a4d6f36a671995b0399fe039813cc42f160 (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
# Contributor: Hiroshi Kajisha <kajisha@gmail.com>
# Maintainer: Hiroshi Kajisha <kajisha@gmail.com>
pkgname=rcm
pkgver=1.3.3
pkgrel=0
pkgdesc="rc file (dotfile) management"
url="https://github.com/thoughtbot/rcm"
arch="noarch"
license="BSD-3-Clause"
makedepends="autoconf automake ruby-mustache"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://thoughtbot.github.io/rcm/dist/rcm-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	CONFIG_SHELL=/bin/sh ./configure --prefix=/usr
	make -j1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="aa00edd76ab494a65cf3e97103d3bfffa427af83e57391cbe8e07ad2516b910c85d2e99a24405390fd27feee20752bab4b4856eeb8bac48eeb6f5707875df99a  rcm-1.3.3.tar.gz"