summaryrefslogtreecommitdiff
path: root/community/hardlink/PKGBUILD
blob: edf5d6973ba9def47c7529c470392764d8d3b853 (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
# $Id: PKGBUILD 70897 2012-05-18 22:12:06Z seblu $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>

pkgname=hardlink
pkgver=0.2.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.gz")
md5sums=('4c1621ee7850a1c8b316735a7bced993')

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 ft=sh et: