summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorshaoyu2020-09-23 20:33:52 +0800
committershaoyu2020-09-23 20:33:52 +0800
commit41e0f824dbfb2c63e5e60b0554217196d828355f (patch)
tree448cc459f1fa0797eb3aa0642d67137041504b87
downloadaur-41e0f824dbfb2c63e5e60b0554217196d828355f.tar.gz
Init
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD55
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2978c5821a8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = stayawake-bin
+ pkgdesc = Advanced wakeup alarm
+ pkgver = 0.5
+ pkgrel = 1
+ arch = x86_64
+ license = GPL3
+ depends = mpg123
+ source = https://github.com/PolyphasicDevTeam/stayawake/releases/download/0.5-beta/stayawake-0.5.tar.xz
+ md5sums = b6506ca6e8228edf6aed1a91e9e846fd
+
+pkgname = stayawake-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0ddd8a35a40
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,55 @@
+# Maintainer: zandimna <zandimna@autistici.org>
+pkgname=stayawake-bin
+pkgver=0.5
+pkgrel=1
+epoch=
+pkgdesc="Advanced wakeup alarm"
+arch=("x86_64")
+url=""
+license=('GPL3')
+groups=()
+depends=('mpg123')
+makedepends=()
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=("https://github.com/PolyphasicDevTeam/stayawake/releases/download/0.5-beta/stayawake-0.5.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
+
+}
+
+md5sums=('b6506ca6e8228edf6aed1a91e9e846fd')