summaryrefslogtreecommitdiff
path: root/community/hardlink/PKGBUILD
blob: 4c2add1f66e2825db53276d51de0ce512385792c (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 114503 2014-07-01 18:39:53Z seblu $
# Maintainer: Sébastien Luttringer

pkgname=hardlink
pkgver=0.2.0
pkgrel=2
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 et: