summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2016-05-06 23:05:43 -0500
committerDoug Newgard2016-05-06 23:05:43 -0500
commit00e2b82402e4354febebc941f8e579b10f060cdb (patch)
tree82d3b79a3d951bf26284c9a3c110a50fb05d7a6a
parent5f0bdba4f2f1af65a92d3d4d327faae2b38b64b5 (diff)
downloadaur-00e2b82402e4354febebc941f8e579b10f060cdb.tar.gz
Simplify
-rw-r--r--PKGBUILD8
1 files changed, 2 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 06de4595841..464e407cb5d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,15 +16,11 @@ source=("https://github.com/skilion/onedrive/archive/v$pkgver.tar.gz")
sha256sums=('c54fad2b452a6a84e009f8743efecdaaca37abcbfe046fc830d7e101cac3594d')
prepare() {
- cd $pkgname-$pkgver
-
- sed -i 's|/usr/local|/usr|g' onedrive.service
+ sed -i 's|/usr/local|/usr|g' $pkgname-$pkgver/onedrive.service
}
build() {
- cd $pkgname-$pkgver
-
- make
+ make -C $pkgname-$pkgver
}
package() {