summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2012-10-28 12:41:22 -0700
committerChad Versace <chad.versace@linux.intel.com>2012-10-29 13:53:15 -0700
commit9e05d98251a3a535bb995eee9bd988dc34f97010 (patch)
tree7d87aba7d6d10307a9895a18e81ba2a25924b842 /pkg
parent7131d4c5ad4b4717e791b9176296477475bd33e8 (diff)
pkg/archlinux: Fix installing of LICENSE.txt file.
Renaming the package from "waffle-1" to "waffle" broke the build: we tried to copy /usr/share/doc/waffle/LICENSE.txt instead of waffle-1/LICENSE.txt (which is what make install actually installs). Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> [chadv: Replace hardcoded major version number with @MAJOR@.] Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/archlinux/PKGBUILD.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/archlinux/PKGBUILD.template b/pkg/archlinux/PKGBUILD.template
index 02bec6c..c7b9d16 100644
--- a/pkg/archlinux/PKGBUILD.template
+++ b/pkg/archlinux/PKGBUILD.template
@@ -43,7 +43,7 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
- install -m644 "$pkgdir/usr/share/doc/$pkgname/LICENSE.txt" \
+ install -m644 "$pkgdir/usr/share/doc/$pkgname-@MAJOR@/LICENSE.txt" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
}