summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorshaoyu2020-11-01 09:40:26 +0800
committershaoyu2020-11-01 09:40:26 +0800
commit4285f0da078e701d2050c45558196b6c201820d5 (patch)
tree5a5397d00b2ec3619a855c1ee26ad9a3436abfd9 /PKGBUILD
parent0cff5c891a85262864d86cb44b87feb9da434b36 (diff)
downloadaur-4285f0da078e701d2050c45558196b6c201820d5.tar.gz
Clean PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD52
1 files changed, 8 insertions, 44 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 94fabbf03af..36e851f9f57 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,55 +1,19 @@
# Maintainer: zandimna <zandimna@autistici.org>
pkgname=stayawake-bin
-pkgver=0.5
+pkgver=0.5.1
pkgrel=1
-epoch=
pkgdesc="Advanced wakeup alarm system written in PyQt5"
arch=("x86_64")
-url=""
+url="https://github.com/PolyphasicDevTeam/stayawake"
license=('GPL3')
-groups=()
-depends=('mpg123')
-makedepends=()
-checkdepends=()
-optdepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=()
-install=
-changelog=
+depends=('mpg123' 'pulseaudio')
source=("https://github.com/PolyphasicDevTeam/stayawake/releases/download/0.5.1/stayawake-0.5.1.tar.xz")
-noextract=()
-md5sums=()
-validpgpkeys=()
-
-prepare() {
- true
-}
-
-build() {
- mkdir etc
- mkdir usr
- mkdir usr/bin
- mkdir usr/share
- mkdir usr/share/pixmaps
- mkdir usr/share/applications
- true
-}
-
-check() {
- true
-}
package() {
- mv stayawake usr/bin
- mv stayawake.png usr/share/pixmaps
- mv StayAwake.desktop usr/share/applications
- mv stayawake.conf etc/
- mv etc/ $pkgdir
- mv usr/ $pkgdir
-
+ install -Dm755 "${pkgname%-bin}" -t "$pkgdir/usr/bin"
+ install -Dm644 "${pkgname%-bin}.png" -t "$pkgdir/usr/share/pixmaps"
+ install -Dm644 StayAwake.desktop \
+ "$pkgdir/usr/share/applications/${pkgname%-bin}.desktop"
+ install -Dm644 "${pkgname%-bin}.conf" -t "$pkgdir/etc"
}
-
md5sums=('3fe1e1ba5fd3b7fd789923a68cab0d59')