diff options
author | Aurélien Grosdidier | 2020-09-15 08:42:30 +0200 |
---|---|---|
committer | Aurélien Grosdidier | 2020-09-15 08:45:02 +0200 |
commit | fbc48b7b5d1c824088618007b2c482af3439e25f (patch) | |
tree | a38d7da0853ba18c54ecc7fe2ab0b941290726c5 /PKGBUILD | |
parent | afb1b0f27c0c043bb4683b10a1642e587baecd17 (diff) | |
download | aur-fclones-git.tar.gz |
Added LICENCE
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -2,7 +2,7 @@ _pkgname=fclones pkgname=${_pkgname}-git pkgver=v0.8.0 -pkgrel=1 +pkgrel=2 pkgdesc='Efficient Duplicate File Finder' arch=('i686' 'x86_64') url="https://github.com/pkolaczk/fclones" @@ -16,7 +16,8 @@ md5sums=('SKIP') pkgver() { cd "$srcdir/$_pkgname" - printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" + printf "%s" "$(git describe --long --tags \ + | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" } build() { @@ -28,4 +29,6 @@ package() { cd "$srcdir/$_pkgname" mkdir -p "$pkgdir/usr/bin" install -Dm755 "target/release/fclones" "$pkgdir/usr/bin/fclones" + mkdir -p "$pkgdir/usr/share/licenses/fclones-git/" + install -Dm644 "./LICENSE" "$pkgdir/usr/share/licenses/fclones-git/" } |