aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2022-01-29 21:47:00 +0100
committerJakub Jirutka <jakub@jirutka.cz>2022-01-29 21:47:34 +0100
commit65b46cc03552c9eb130d8bcc55dc862c844630a3 (patch)
tree959341180d19e950093def732cd0f3d8bdaf6ebb
parent58ddc0083a93273a8842737e6361dc1d61b6573a (diff)
downloadaports-65b46cc03552c9eb130d8bcc55dc862c844630a3.tar.gz
aports-65b46cc03552c9eb130d8bcc55dc862c844630a3.tar.bz2
aports-65b46cc03552c9eb130d8bcc55dc862c844630a3.tar.xz
community/desktop-file-utils: split emacs mode to -emacs subpkg
-rw-r--r--community/desktop-file-utils/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/community/desktop-file-utils/APKBUILD b/community/desktop-file-utils/APKBUILD
index f36b52ee2b..034887a1dd 100644
--- a/community/desktop-file-utils/APKBUILD
+++ b/community/desktop-file-utils/APKBUILD
@@ -1,13 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=desktop-file-utils
pkgver=0.26
-pkgrel=0
+pkgrel=1
pkgdesc="Command line utilities for working with desktop entries"
url="http://www.freedesktop.org/wiki/Software/desktop-file-utils"
arch="all"
license="GPL-2.0-or-later"
makedepends="glib-dev gettext-dev meson"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-emacs::noarch"
triggers="$pkgname.trigger=/usr/share/applications"
source="https://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-$pkgver.tar.xz"
@@ -24,4 +24,11 @@ package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
+emacs() {
+ pkgdesc="Emacs mode for $pkgname"
+ install_if="$pkgname=$pkgver-r$pkgrel emacs"
+
+ amove usr/share/emacs
+}
+
sha512sums="5b4e435f0b635d8f898ac7f5759f74a08ffbe2a56d41fee0e84ff57e73b98d08b57b4416f20b99f696dad8bcb1c20792b39acf836b0814220c0b386ea5f6b831 desktop-file-utils-0.26.tar.xz"