diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-11-10 12:33:39 -0800 |
---|---|---|
committer | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-11-10 12:33:39 -0800 |
commit | 2cc210902704979184fbc8980449a19661e00147 (patch) | |
tree | 9ec41063eeff4469b4d9276d858f9e0b0926f13f /user | |
parent | 4fd3a25ca96572f29db66c7def197029d6c09007 (diff) | |
download | packages-2cc210902704979184fbc8980449a19661e00147.tar.gz packages-2cc210902704979184fbc8980449a19661e00147.tar.bz2 packages-2cc210902704979184fbc8980449a19661e00147.tar.xz packages-2cc210902704979184fbc8980449a19661e00147.zip |
user/pantheon-code: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/pantheon-code/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/user/pantheon-code/APKBUILD b/user/pantheon-code/APKBUILD new file mode 100644 index 000000000..28e63fc14 --- /dev/null +++ b/user/pantheon-code/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=pantheon-code +pkgver=7.1.0 +pkgrel=0 +pkgdesc="Programmer-oriented text editor for the Pantheon desktop environment" +url="https://elementary.io" +arch="all" +license="GPL-3.0+ AND LGPL-3.0+ AND GPL-2.0+" +depends="" +makedepends="meson ninja editorconfig-core-c-dev glib-dev gobject-introspection-dev granite-dev gtksourceview4-dev libgee-dev libgit2-glib-dev libhandy-dev libpeas-dev libsoup-dev vala-dev vte-dev" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="pantheon-code-$pkgver.tar.gz::https://github.com/elementary/code/archive/refs/tags/$pkgver.tar.gz" +builddir="$srcdir/code-$pkgver" + +build() { + meson setup \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + --wrap-mode=nofallback \ + -Dplugins=false \ + . output + meson compile -C output +} + +check() { + meson test -C output +} + +package() { + DESTDIR="$pkgdir" meson install -C output +} + +sha512sums="dc8905f3f8affa04ac6643448f5c937160ffe31f227c29551ebeb226a71566b516d754ed2e21cbd4e669a262a1be50503ff1f47e82fa80b197f0171e33813922 pantheon-code-7.1.0.tar.gz" |