diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 13 insertions, 11 deletions
diff --git a/.gitignore b/.gitignore index cadae6b64507..293360cb8580 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ lighthouse src +*.pkg* +pkg @@ -3,7 +3,7 @@ pkgname=lighthouse-git pkgrel=1 pkgdesc='A simple scriptable popup dialog to run on X' -pkgver=r173.a9b41fa +pkgver=r269.069b07b arch=('any') # I haven't tested it on ARM but it most likely works url='https://github.com/emgram769/lighthouse' license=('MIT') @@ -17,20 +17,20 @@ provides=('lighthouse') conflicts=('lighthouse') # in case someone makes a stable package pkgver() { - cd "lighthouse" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd "lighthouse" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - cd "${srcdir}/lighthouse" - make + cd "${srcdir}/lighthouse" + make lighthouse } package() { - cd "${srcdir}/lighthouse" - mkdir -p ${pkgdir}/usr/{bin,share/lighthouse} - cp lighthouse "${pkgdir}/usr/bin" - chmod +x "${pkgdir}/usr/bin/lighthouse" - cp -ir config/lighthouse/* "${pkgdir}/usr/share/lighthouse" - chmod +x ${pkgdir}/usr/share/lighthouse/cmd{,.py} + cd "${srcdir}/lighthouse" + mkdir -p ${pkgdir}/usr/{bin,share/lighthouse} + cp lighthouse "${pkgdir}/usr/bin" + chmod +x "${pkgdir}/usr/bin/lighthouse" + cp -ir config/lighthouse/* "${pkgdir}/usr/share/lighthouse" + chmod +x ${pkgdir}/usr/share/lighthouse/cmd{,.py} } |