diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-10-20 07:06:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-10-20 07:06:07 +0000 |
commit | 9814b092961ae15cbfea490a0323ae5af960a820 (patch) | |
tree | 73aa20e068fb250bcd4a653addf232d990ed6ff9 /main | |
parent | b5435c067ef5abdc4cff905f9737e20f60fd53e6 (diff) | |
download | aports-9814b092961ae15cbfea490a0323ae5af960a820.tar.bz2 aports-9814b092961ae15cbfea490a0323ae5af960a820.tar.xz |
main/st: add desktop file
Diffstat (limited to 'main')
-rw-r--r-- | main/st/APKBUILD | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/main/st/APKBUILD b/main/st/APKBUILD index 786530c7ba..2559fb670a 100644 --- a/main/st/APKBUILD +++ b/main/st/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=st pkgver=0.6 -pkgrel=1 +pkgrel=2 pkgdesc="a simple terminal implementation for X" url="http://st.suckless.org/" arch="all" @@ -34,6 +34,19 @@ build() { package() { cd "$_builddir" make PREFIX=/usr DESTDIR="$pkgdir" install || return 1 + mkdir -p "$pkgdir"/usr/share/applications + + cat >"$pkgdir"/usr/share/applications/st.desktop <<EOF +[Desktop Entry] +Name=st +Comment=st is a simple virtual terminal emulator for X which sucks less +Exec=st +Terminal=false +Type=Application +Icon=gnome-xterm +Categories=System;TerminalEmulator; +EOF + } md5sums="1a926f450b4eacb7e2f5ac5b8ffea7c8 st-0.6.tar.gz |