summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 003cb00d1fda8c9827b629ec4a4ffd9299b357d1 (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
31
32
33
# Maintainer: Mario Rodas <marsam@users.noreply.github.com>

pkgname=lightning
pkgver=2.1.0
pkgrel=1
pkgdesc='Library that generates assembly language code at run-time'
arch=('i686' 'x86_64')
url='https://www.gnu.org/software/lightning/'
license=('GPL')
depends=('zlib')
options=()
provides=()
source=('https://ftp.gnu.org/gnu/lightning/lightning-2.1.0.tar.gz')
sha256sums=('1fa3a2421852598b3162d6765645bb3cd0fccb5f0c105d0800c64c8428b749a6')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
}

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

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}

# Local Variables:
# compile-command: "makepkg -sm && mksrcinfo"
# End: