summarylogtreecommitdiffstats
diff options
context:
space:
mode:
author100best2016-12-09 14:04:52 -0800
committer100best2016-12-09 14:04:52 -0800
commitfc3a6c430bb931c0aa586733e4e69bcd9ad65b45 (patch)
tree137dcdc61b8c6ce8aafb63dfe264a7a865e727f3
parent2f9b4ccab6e8145391686c8fce9b9d3d153ec085 (diff)
downloadaur-fc3a6c430bb931c0aa586733e4e69bcd9ad65b45.tar.gz
Update PKGBUILD
-rw-r--r--PKGBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2077fc31e67..84d4aca9748 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer: 100best <jm.100best@hotmail.com>
+# Maintainer: 100best <jm dot 100best at gmail dot com>
pkgname=udefrag
pkgver=5.0.0AB.7
@@ -14,17 +14,18 @@ md5sums=('20cdd938bed3efa5161aefc0ad08ba00'
'56db0ac242fceda8f38444e4a8cc173b')
prepare() {
- mv udefrag.patch $srcdir/ultradefrag-5.0.0AB.7
+ cp udefrag.patch $srcdir/ultradefrag-5.0.0AB.7
cd $srcdir/ultradefrag-5.0.0AB.7
- patch -p1 -i udefrag.patch
+ patch -p 1 -i udefrag.patch
}
-package() {
+build() {
cd $srcdir/ultradefrag-5.0.0AB.7/src
make
- cd $srcdir
- mkdir usr
- mkdir usr/bin
- mv $srcdir/ultradefrag-5.0.0AB.7/src/udefrag $srcdir/usr/bin
- mv $srcdir/usr $pkgdir
+}
+
+package() {
+ cd $srcdir/ultradefrag-5.0.0AB.7/src
+ mkdir -p $pkgdir/usr/bin
+ cp udefrag $pkgdir/usr/bin
}