# $Id: PKGBUILD 119582 2014-09-25 22:26:04Z seblu $
# Maintainer: Sébastien Luttringer

pkgname=hardlink
pkgver=0.3.0
pkgrel=1
pkgdesc='Replace file copies using hardlinks'
arch=('i686' 'x86_64')
url='http://jak-linux.org/projects/hardlink/'
license=('custom: MIT')
depends=('glibc' 'pcre')
source=("http://jak-linux.org/projects/hardlink/hardlink_$pkgver.tar.xz"{,.asc})
md5sums=('72f1a460adb6874c151deab766e434ad'
         'SKIP')

build() {
  cd $pkgname-$pkgver
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  # install icense
  install -Dm 644 debian/copyright "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

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