From a5bb2133a94d87a8932fc9d06dcfe10444728e1f Mon Sep 17 00:00:00 2001 From: zstg Date: Mon, 23 Dec 2024 18:05:44 +0530 Subject: [PATCH] Restart --- .gitignore | 4 ++- PKGBUILDS/mu/PKGBUILD | 42 ++++++++++++++++++++++++++++++ PKGBUILDS/stratos-keyring/PKGBUILD | 4 +-- build.sh | 1 + 4 files changed, 48 insertions(+), 3 deletions(-) create mode 100644 PKGBUILDS/mu/PKGBUILD diff --git a/.gitignore b/.gitignore index c583e67..cd4851e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,6 @@ /workspace /workspace/StratOS-repo/PKGBUILDS/calamares/*.tar.gz /workspace/StratOS-repo/PKGBUILDS/calamares/src -/workspace/StratOS-repo/PKGBUILDS/calamares/pkg \ No newline at end of file +/workspace/StratOS-repo/PKGBUILDS/calamares/pkg +elkowar.gpg +web-flow.gpg \ No newline at end of file diff --git a/PKGBUILDS/mu/PKGBUILD b/PKGBUILDS/mu/PKGBUILD new file mode 100644 index 0000000..d7969be --- /dev/null +++ b/PKGBUILDS/mu/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Marcel Röthke +# Contributor: Pierre Neidhardt +# Contributor: csllbr; Popsch + +pkgname=mu +pkgver=1.12.8 +pkgrel=1 +pkgdesc="Maildir indexer/searcher and Emacs client (mu4e)" +arch=("x86_64" "armv7h") +url="http://www.djcbsoftware.nl/code/mu" +license=("GPL-3.0-or-later") +depends=("gmime3" "xapian-core" "readline" "glib2") +makedepends=("meson") +optdepends=("emacs: mu4e support") +source=("https://github.com/djcb/mu/releases/download/v${pkgver}/mu-${pkgver}.tar.xz") +sha256sums=('6c7d43e95ad228990defe5dfd61101aa7a7217d631add303cce1fb29f7a204d0') + +prepare() { + cd "$pkgname-$pkgver" + arch-meson \ + -Dc_args="${CFLAGS}" \ + -Dcpp_args="${CFLAGS}" \ + -Dc_link_args="${LDFLAGS}" \ + -Dcpp_link_args="${LDFLAGS}" \ + -Dguile=disabled \ + -Dreadline=enabled \ + -Dcld2=disabled \ + build + + +} + + +build() { + cd "$pkgname-$pkgver" + ninja -C build +} + +package() { + cd "$pkgname-$pkgver" + DESTDIR="${pkgdir}" meson install -C build +} diff --git a/PKGBUILDS/stratos-keyring/PKGBUILD b/PKGBUILDS/stratos-keyring/PKGBUILD index 9a30a72..9f70f5f 100644 --- a/PKGBUILDS/stratos-keyring/PKGBUILD +++ b/PKGBUILDS/stratos-keyring/PKGBUILD @@ -1,11 +1,11 @@ # Maintainer: ZeStig pkgname=stratos-keyring -pkgver=20240819 +pkgver=20241223 pkgrel=1 pkgdesc="StratOS keyring" arch=(any) -url="https://stratos-linux.github.io" +url="https://stratos-linux.github.org" license=('GPL-3.0-or-later') install=$pkgname.install source=("stratos.gpg" diff --git a/build.sh b/build.sh index f3cfa9d..512caf5 100644 --- a/build.sh +++ b/build.sh @@ -94,6 +94,7 @@ build_and_package() { # "gruvbox-plus-icon-theme-git" # "libadwaita-without-adwaita-git" # "mkinitcpio-openswap" + "mu" # TODO find a way to not pull in Emacs as a dependency # "nwg-clipman" "nwg-dock-hyprland-bin" # "octopi"