summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a5f7c70e4555fc96d41e8ea49e384c2650ffa079 (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
# Maintainer:  Marcin Wieczorek <marcin@marcin.co>

pkgname=inadyn-mt
pkgver=02.28.10
pkgrel=1
pkgdesc="A simple dynamic DNS client based on inadyn"
arch=('i686' 'x86_64')
url="http://inadyn-mt.sourceforge.net"
license=('GPL3')
depends=('libao')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname.v.$pkgver.tar.gz)
sha256sums=('f69bea12d96b66f9f662a8df0730c60457b24f5fb5308b109936880ebf7be5ca')

build() {
  cd "$pkgname.v.$pkgver"
  ./configure
  make all
}

package() {
  cd "$pkgname.v.$pkgver"

  # install binary
  install -Dm755 bin/linux/$pkgname "$pkgdir/usr/bin/$pkgname"
  # install manuals
  install -m755 -d "$pkgdir"/usr/share/man/man{5,8}
  install -m644 man/*.5 "$pkgdir"/usr/share/man/man5/
  install -m644 man/*.8 "$pkgdir"/usr/share/man/man8/
}

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