summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fd6f7bb2c9fa..bf8d75919ccb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,8 +15,8 @@ md5sums=('546394131a1467a8651e0b8a218970c0'
prepare() {
cp Makefile $pkgname-$pkgver/
- sed -i 's:see the manual for details:see /usr/share/doc/ramspeed/README:' \
- $pkgname-$pkgver/ramspeed.c
+ sed -i "s:see the manual for details:see /usr/share/doc/$pkgname/README:" \
+ $pkgname-$pkgver/$pkgname.c
}
build() {
@@ -27,7 +27,7 @@ build() {
package() {
cd $pkgname-$pkgver
- install -Dm755 ramspeed "$pkgdir"/usr/bin/ramspeed
- install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/ramspeed/LICENSE
- install -Dm644 README "$pkgdir"/usr/share/doc/ramspeed/README
+ install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
+ install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 README "$pkgdir"/usr/share/doc/$pkgname/README
}