mirror of
https://github.com/archlinux/aur.git
synced 2026-03-13 19:04:45 +01:00
New upstream release 0.1.1
This commit is contained in:
commit
7aebb80eb1
2 changed files with 73 additions and 0 deletions
36
.SRCINFO
Normal file
36
.SRCINFO
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
pkgbase = mnemo
|
||||
pkgdesc = Note-taking app designed to enhance the retention of information.
|
||||
pkgver = 0.1.1
|
||||
pkgrel = 1
|
||||
url = https://github.com/lemueldls/mnemo
|
||||
arch = x86_64
|
||||
license = AGPL-3.0
|
||||
makedepends = cargo
|
||||
makedepends = nodejs
|
||||
makedepends = pnpm
|
||||
makedepends = git
|
||||
makedepends = file
|
||||
makedepends = appmenu-gtk-module
|
||||
makedepends = libappindicator-gtk3
|
||||
makedepends = librsvg
|
||||
makedepends = base-devel
|
||||
makedepends = curl
|
||||
makedepends = wget
|
||||
makedepends = rustup
|
||||
makedepends = webkit2gtk-4.1
|
||||
depends = cairo
|
||||
depends = desktop-file-utils
|
||||
depends = gdk-pixbuf2
|
||||
depends = glib2
|
||||
depends = gtk3
|
||||
depends = hicolor-icon-theme
|
||||
depends = libsoup
|
||||
depends = pango
|
||||
depends = webkit2gtk-4.1
|
||||
depends = openssl
|
||||
options = !strip
|
||||
options = !emptydirs
|
||||
source = mnemo-v0.1.1.tar.gz::https://github.com/lemueldls/mnemo/archive/refs/tags/mnemo-v0.1.1.tar.gz
|
||||
sha256sums = 6bed534ca29696c08f13314a3082813bdbbd2f2917065814744204d4d3c4352d
|
||||
|
||||
pkgname = mnemo
|
||||
37
PKGBUILD
Normal file
37
PKGBUILD
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
pkgname=mnemo
|
||||
pkgver=0.1.1
|
||||
pkgrel=1
|
||||
pkgdesc="Note-taking app designed to enhance the retention of information."
|
||||
arch=('x86_64')
|
||||
url="https://github.com/lemueldls/mnemo"
|
||||
license=('AGPL-3.0')
|
||||
depends=('cairo' 'desktop-file-utils' 'gdk-pixbuf2' 'glib2' 'gtk3' 'hicolor-icon-theme' 'libsoup' 'pango' 'webkit2gtk-4.1' 'openssl')
|
||||
makedepends=('cargo' 'nodejs' 'pnpm' 'git' 'file' 'appmenu-gtk-module' 'libappindicator-gtk3' 'librsvg' 'base-devel' 'curl' 'wget' 'rustup' 'webkit2gtk-4.1') options=('!strip' '!emptydirs')
|
||||
source=("mnemo-v$pkgver.tar.gz::https://github.com/lemueldls/mnemo/archive/refs/tags/mnemo-v$pkgver.tar.gz")
|
||||
sha256sums=('6bed534ca29696c08f13314a3082813bdbbd2f2917065814744204d4d3c4352d')
|
||||
_builddir="mnemo-mnemo-v$pkgver/platform"
|
||||
prepare() {
|
||||
cd "$srcdir/$_builddir" || exit 1
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
rustup toolchain install $RUSTUP_TOOLCHAIN --target wasm32-unknown-unknown --profile minimal --no-self-update
|
||||
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
|
||||
cargo fetch --locked --target wasm32-unknown-unknown
|
||||
}
|
||||
build() {
|
||||
cd "$srcdir/$_builddir" || exit 1
|
||||
# unfortunately LTOFLAGS -flto=auto set by /etc/makepkg.conf break linking as those are added to CFLAGS automatically
|
||||
# building will bail out with something like: undefined reference to 'ring_core_0_17_8_OPENSSL_ia32cap_P' when -flto=auto is set
|
||||
export CFLAGS="${CFLAGS//-flto=auto//}"
|
||||
pnpm install
|
||||
pnpm tauri build -b deb -c "${srcdir}/${_builddir}/tauri/tauri.package.conf.json" || true
|
||||
}
|
||||
package() {
|
||||
# use the intermediate artifacts generated by the bundler for creating the .deb
|
||||
cd "${srcdir}/${_builddir}/target/release/bundle/deb/Mnemo_${pkgver}_amd64/data" || exit 1
|
||||
install -Dm755 usr/bin/mnemo "$pkgdir"/usr/bin/mnemo
|
||||
install -Dm644 usr/share/applications/Mnemo.desktop "$pkgdir"/usr/share/applications/Mnemo.desktop
|
||||
install -Dm644 usr/share/icons/hicolor/128x128/apps/mnemo.png "$pkgdir"/usr/share/icons/hicolor/128x128/apps/mnemo.png
|
||||
install -Dm644 usr/share/icons/hicolor/256x256@2/apps/mnemo.png "$pkgdir"/usr/share/icons/hicolor/256x256@2/apps/mnemo.png
|
||||
install -Dm644 usr/share/icons/hicolor/32x32/apps/mnemo.png "$pkgdir"/usr/share/icons/hicolor/32x32/apps/mnemo.png
|
||||
# install -Dm644 usr/share/licenses/mnemo/LICENSE "$pkgdir"/usr/share/licenses/mnemo/LICENSE
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue