Skip to content
Snippets Groups Projects
Commit 65b46cc0 authored by Jakub Jirutka's avatar Jakub Jirutka :flag_ua:
Browse files

community/desktop-file-utils: split emacs mode to -emacs subpkg

parent 58ddc008
No related branches found
No related tags found
No related merge requests found
# 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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment