summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0deb9efbc5d58b2a55dab547f04be604d7daaf1c (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: Albert Graef <aggraef at gmail dot com>

pkgname=pure-avahi
pkgver=0.4
pkgrel=1
pkgdesc="An Avahi/Zeroconf interface for Pure"
arch=("i686" "x86_64")
license=('LGPL3')
url="http://purelang.bitbucket.org/"
depends=('pure' 'avahi')
makedepends=()
groups=(pure-complete pure-util)
source=("https://github.com/agraef/pure-lang/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
sha1sums=('600ea38328664db548f0bbe2da0ffcec97cee19c')

build() {
     cd $srcdir/$pkgname-$pkgver
     make || return 1
}

package() {
     cd $srcdir/$pkgname-$pkgver
     make DESTDIR=$pkgdir install || return 1
     cp zeroconf.pure $pkgdir/usr/lib/pure
}