diff options
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 53 |
2 files changed, 77 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..40e5f02bd964 --- /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 000000000000..7bb806650d1d --- /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 +} |