updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / dmerge / PKGBUILD
blob7150781e687eeb1d2e33584ad8ae32d85a1e808a
1 # Contributor: Mark Smith <markzzzsmith@yahoo.com.au>
2 pkgname=dmerge
3 pkgver=0.0
4 pkgrel=5
5 pkgdesc="Find duplicate files, and merge them using file system hardlinks, saving disk space"
6 arch=('i686' 'x86_64')
7 url="http://www.fluxsmith.com/cgi-bin/twiki/view/Jonathan/DMerge"
8 license="custom:MIT"
9 makedepends=('glibc' 'gcc')
10 depends=('glibc')
11 install=dmerge.install
12 source=(http://www.fluxsmith.com/twiki/pub/Jonathan/DMerge/dmerge.cpp
13         dmerge.install)
14 md5sums=('e6ab6c5b630cc3bff2323d2cfc44fccd'
15          'bf1bf0d67242ac6f7dd1ffeaa6841ee4')
17 build() {
19   g++ $CXXFLAGS dmerge.cpp -o dmerge -lstdc++
21   install -D -m755 dmerge $startdir/pkg/usr/bin/dmerge
22   install -D -m444 dmerge.cpp $startdir/pkg/usr/share/licenses/$pkgname/LICENSE