summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e3e9a5d6440baa9030e129808299ea2f0307baa6 (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
# Maintainer: Shawn Fisher <fishbot@gmail.com>

pkgname=opennhrp
pkgver=0.14
pkgrel=1
pkgdesc="An opensource NHRP implementation"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/opennhrp/"
license=('custom')
depends=('linux>=3.7.4-1' 'bash' 'c-ares')
source=("http://downloads.sourceforge.net/project/opennhrp/opennhrp/$pkgname-$pkgver.tar.bz2"
        'MIT-LICENSE.txt')
md5sums=('62e8f16dd3bdf0600e43fcb37aa40462'
         'fcde66d6d3a34d2a5c48fcef0b0be04c')

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

  make
}

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

  make DESTDIR="$pkgdir/" install
  install -Dm644 "$srcdir/MIT-LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/MIT-LICENSE.txt"
}

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