summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Dupuis2022-01-13 14:56:04 +0100
committerBruno Dupuis2022-01-13 14:59:08 +0100
commit17f4fb8c4f211ac061ee6c118fcb8134ec5ba796 (patch)
tree28884a53c2a863a933da0b9ee487da87d5cc8fa8
downloadaur-birdie-alarm-mobile-git.tar.gz
Initial PKGBUILD
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD53
2 files changed, 77 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..40e5f02bd96
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = birdie-alarm-mobile-git
+ pkgdesc = Wakeup Alarm App for a Linux Phone
+ pkgver = r61.14831c3
+ pkgrel = 1
+ url = https://github.com/Dejvino/birdie
+ arch = x86_64
+ arch = aarch64
+ license = GPL
+ makedepends = git
+ depends = desktop-file-utils
+ depends = glib2
+ depends = gobject-introspection-runtime
+ depends = gst-plugins-base
+ depends = hicolor-icon-theme
+ depends = python-gobject
+ depends = python-mpris_server
+ depends = python-psutil
+ provides = birdie-alarm-mobile
+ conflicts = birdie-alarm-mobile
+ conflicts = wake-mobile-git
+ source = git+https://github.com/Dejvino/birdie.git
+ md5sums = SKIP
+
+pkgname = birdie-alarm-mobile-git
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7bb806650d1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,53 @@
+# Maintainer: Bruno Dupuis <lisael@lisael.org>
+pkgname=birdie-alarm-mobile-git
+pkgver=r61.14831c3
+pkgrel=1
+pkgdesc="Wakeup Alarm App for a Linux Phone"
+arch=('x86_64' 'aarch64')
+url="https://github.com/Dejvino/birdie"
+license=('GPL')
+depends=(
+ 'desktop-file-utils'
+ 'glib2'
+ 'gobject-introspection-runtime'
+ 'gst-plugins-base'
+ 'hicolor-icon-theme'
+ 'python-gobject'
+ 'python-mpris_server'
+ 'python-psutil'
+)
+makedepends=(
+ 'git'
+)
+optdepends=()
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}" 'wake-mobile-git')
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=('git+https://github.com/Dejvino/birdie.git')
+noextract=()
+
+md5sums=('SKIP') #autofill using updpkgsums
+
+pkgver() {
+ cd "$srcdir/birdie"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd "$srcdir/birdie"
+ sed -i 's/\/lib\/systemd/\/usr\/lib\/systemd/' Makefile
+}
+
+build() {
+ cd "$srcdir/birdie"
+ make
+}
+
+package() {
+ cd "$srcdir/birdie"
+ make DESTDIR="$pkgdir/" install
+}