summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ec221e9f0943b8aa3d2a694a41cee4ee29d47f5f (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
# Author: Javier TiĆ” <javier dot tia at gmail dot com>

pkgname=rgxg
pkgver=0.1.1
pkgrel=1
pkgdesc='ReGular eXpression Generator'
url='https://rgxg.github.io'
license=('zlib/libpng')
depends=('autogen')
makedepends=('autoconf' 'automake' 'gcc')
arch=('i686' 'x86_64')
_url="https://github.com/${pkgname}"
source=("${_url}/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('6566cd05d116475e98ceb57a5fdb25d8743f7381799aeb8e218433ff4fbb139f')

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

  ./configure --prefix=/usr
  make
}

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

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

# vim:set ts=2 sw=2 ft=sh et: