summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann_Forget2016-04-10 19:30:48 +0200
committerYann_Forget2016-04-10 19:30:48 +0200
commitc9d77d48911a06a17417255d8097434bf591a87e (patch)
treee44b670f6bb668f247b940852e10da0c6d54801f
parent08205c9fc01a2cb83a9afa777e9ec1dedc5ba093 (diff)
downloadaur-c9d77d48911a06a17417255d8097434bf591a87e.tar.gz
Corrected license installation
-rw-r--r--PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 740e947a74d..06ffd8e675c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -45,8 +45,6 @@ prepare() {
build() {
cd "$srcdir/$pkgname"
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
export PREFIX="/usr"
export XML2INC="/usr/include/libxml2"
@@ -65,10 +63,12 @@ build() {
}
package() {
- mkdir -p "$pkgdir$PREFIX/lib/$pkgname"
- mkdir -p "$pkgdir/var/lib/espa/$pkgname/static_data"
+ mkdir -p "$pkgdir$PREFIX/lib/$pkgname"
+ mkdir -p "$pkgdir/var/lib/espa/$pkgname/static_data"
- cd "$srcdir/$pkgname"
- make PREFIX="$pkgdir$PREFIX" install
- make PREFIX="$pkgdir$PREFIX" clean
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+ cd "$srcdir/$pkgname"
+ make PREFIX="$pkgdir$PREFIX" install
+ make PREFIX="$pkgdir$PREFIX" clean
}