From d82b26d239e2d4ce5d3dd87a07cf575c09533c5f Mon Sep 17 00:00:00 2001 From: Brendan Forster Date: Fri, 10 Apr 2015 11:27:58 +0100 Subject: [PATCH] more explicit install rules --- git-tfs/PKGBUILD | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/git-tfs/PKGBUILD b/git-tfs/PKGBUILD index 4a8cd3a..66a437d 100644 --- a/git-tfs/PKGBUILD +++ b/git-tfs/PKGBUILD @@ -14,10 +14,21 @@ source=("https://github.com/git-tfs/git-tfs/releases/download/v$pkgver/GitTfs-v$ md5sums=('4468af4b8a4318c2dcbba2cea617cfa1') package() { - cd GitTfs_$pkgver install -d -m755 $pkgdir/usr/bin install -m755 git-tfs.exe $pkgdir/usr/bin/git-tfs.exe + install -d -m755 $pkgdir/usr/share/git-tfs - install -m644 * $pkgdir/usr/share/git-tfs/ + install -m644 NOTICE $pkgdir/usr/share/git-tfs/NOTICE + install -m644 LICENSE $pkgdir/usr/share/git-tfs/LICENSE + install -m644 README.md $pkgdir/usr/share/git-tfs/README.md + install -m644 *.dll $pkgdir/usr/share/git-tfs/ + install -m644 *.exe $pkgdir/usr/share/git-tfs/ + install -m644 *.exe.config $pkgdir/usr/share/git-tfs/ + + install -d -m755 $pkgdir/usr/share/git-tfs/NativeBinaries + install -d -m755 $pkgdir/usr/share/git-tfs/NativeBinaries/amd64 + install -m755 NativeBinaries/amd64/*.dll $pkgdir/usr/share/git-tfs/NativeBinaries/amd64/ + install -d -m755 $pkgdir/usr/share/git-tfs/NativeBinaries/x86 + install -m755 NativeBinaries/x86/*.dll $pkgdir/usr/share/git-tfs/NativeBinaries/x86/ }