summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorXorg2015-07-09 17:25:20 +0200
committerXorg2015-07-09 17:25:20 +0200
commit483daf755cbb062d9e3dc6bf32c693a4f777859d (patch)
treeb0b98fe72ea7c2f77067f2e7818fbec2f44424bf /PKGBUILD
parenta2b8838755dc5ba2e1316b69f879aeca7c5c19cf (diff)
downloadaur-483daf755cbb062d9e3dc6bf32c693a4f777859d.tar.gz
Minor changes
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 97cba01ad84..8db00fdf214 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,18 +6,15 @@ pkgver=0.1
pkgrel=11
pkgdesc="Systemd service + script, automatically activate numpad on ttys"
arch=('any')
-url='http://avalon.ybalrid.info/aur/numlockontty.html'
+url="http://avalon.ybalrid.info/aur/numlockontty.html"
depends=('systemd')
replaces=('numlockontty')
license=('GPL')
-install='numlockontty.install'
-source=(http://avalon.ybalrid.info/aur/numlockontty-${pkgver}.tar.gz)
-noextract=()
+install=numlockontty.install
+source=("http://avalon.ybalrid.info/aur/numlockontty-$pkgver.tar.gz")
md5sums=('f7b69626dd83f5da5269b226688ff1b8')
package() {
- cd "$srcdir"
- install -Dm755 'numlockOnTty' "${pkgdir}/usr/bin/numlockOnTty" || return 1
- install -Dm644 'numLockOnTty.service' "${pkgdir}/usr/lib/systemd/system/numLockOnTty.service" || return 1
-
+ install -Dvm755 "$srcdir/numlockOnTty" "$pkgdir/usr/bin/numlockOnTty"
+ install -Dvm644 "$srcdir/numLockOnTty.service" "$pkgdir/usr/lib/systemd/system/numLockOnTty.service"
}