summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7381527c18dd5e633c22a35c84f996c2cc827a04 (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
# Maintainer: Radek Podgorny <radek@podgorny.cz>

pkgname=omgf
pkgver=2.2.0
pkgrel=1
pkgdesc="Use Git Flow with ease – maintain branches, semantic versioning, releases, and changelog with a single command."
arch=('any')
url='https://github.com/InternetGuru/omgf'
license=('GPL-3')
depends=('git')
source=("https://github.com/InternetGuru/omgf/archive/v${pkgver}.tar.gz")
md5sums=('9f1c891c448f97709b4223f740c642e0')

build() {
   cd "$srcdir/$pkgname-$pkgver"
   ./configure
   make prefix="$pkgdir/usr"
   # the prefix= doesn't seem to be working so fix it the hard way
   sed -i 's|OMGF_DATAPATH=.*|OMGF_DATAPATH=/usr/share/omgf|g' compiled/omgf
}

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