From 3c678e8595f167dd1ffcfeab4c4bfb82f07a3e5b Mon Sep 17 00:00:00 2001 From: Tharre Date: Tue, 7 Dec 2021 06:55:46 +0100 Subject: st: rename to st-custom to match the package name --- st-custom/.gitignore | 1 + st-custom/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ st-custom/st-terminal.desktop | 11 +++++++++++ st/.gitignore | 1 - st/PKGBUILD | 41 ----------------------------------------- st/st-terminal.desktop | 11 ----------- 6 files changed, 53 insertions(+), 53 deletions(-) create mode 100644 st-custom/.gitignore create mode 100644 st-custom/PKGBUILD create mode 100644 st-custom/st-terminal.desktop delete mode 100644 st/.gitignore delete mode 100644 st/PKGBUILD delete mode 100644 st/st-terminal.desktop diff --git a/st-custom/.gitignore b/st-custom/.gitignore new file mode 100644 index 0000000..5979724 --- /dev/null +++ b/st-custom/.gitignore @@ -0,0 +1 @@ +st/ diff --git a/st-custom/PKGBUILD b/st-custom/PKGBUILD new file mode 100644 index 0000000..2752371 --- /dev/null +++ b/st-custom/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Tharre + +pkgname=st-custom +_pkgname=st +pkgver=0.7.r93.g97418a4 +pkgrel=1 +pkgdesc='Simple virtual terminal emulator for X' +url='http://git.suckless.org/st/' +arch=('i686' 'x86_64' 'armv7h') +license=('MIT') +depends=('libxft' 'adobe-source-code-pro-fonts' 'ttf-dejavu') +makedepends=('ncurses' 'libxext' 'git') +provides=("${_pkgname}") +conflicts=("${_pkgname}") +source=('st::git+https://github.com/Tharre/st-transparency.git#branch=custom_config' + 'st-terminal.desktop') +sha256sums=('SKIP' + 'ec9f8e5505f13b450ef180edf3596de4d528fe507fbd1aed7fa715221e64770f') + +pkgver() { + cd "${_pkgname}" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +prepare() { + cd "${_pkgname}" + ln -sf config.def.h config.h +} + +build() { + cd "${_pkgname}" + make +} + +package() { + cd "${_pkgname}" + make PREFIX=/usr DESTDIR="${pkgdir}" install + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -Dm644 README FAQ -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm644 "${srcdir}/st-terminal.desktop" -t "${pkgdir}/usr/share/applications" +} diff --git a/st-custom/st-terminal.desktop b/st-custom/st-terminal.desktop new file mode 100644 index 0000000..c1910b1 --- /dev/null +++ b/st-custom/st-terminal.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Name=st +Comment=A simple virtual terminal emulator for X. +GenericName=Terminal Emulator +Exec=st +Icon=utilities-terminal +Terminal=false +Type=Application +Categories=System;TerminalEmulator; +StartupNotify=true diff --git a/st/.gitignore b/st/.gitignore deleted file mode 100644 index 5979724..0000000 --- a/st/.gitignore +++ /dev/null @@ -1 +0,0 @@ -st/ diff --git a/st/PKGBUILD b/st/PKGBUILD deleted file mode 100644 index 2752371..0000000 --- a/st/PKGBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Maintainer: Tharre - -pkgname=st-custom -_pkgname=st -pkgver=0.7.r93.g97418a4 -pkgrel=1 -pkgdesc='Simple virtual terminal emulator for X' -url='http://git.suckless.org/st/' -arch=('i686' 'x86_64' 'armv7h') -license=('MIT') -depends=('libxft' 'adobe-source-code-pro-fonts' 'ttf-dejavu') -makedepends=('ncurses' 'libxext' 'git') -provides=("${_pkgname}") -conflicts=("${_pkgname}") -source=('st::git+https://github.com/Tharre/st-transparency.git#branch=custom_config' - 'st-terminal.desktop') -sha256sums=('SKIP' - 'ec9f8e5505f13b450ef180edf3596de4d528fe507fbd1aed7fa715221e64770f') - -pkgver() { - cd "${_pkgname}" - git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' -} - -prepare() { - cd "${_pkgname}" - ln -sf config.def.h config.h -} - -build() { - cd "${_pkgname}" - make -} - -package() { - cd "${_pkgname}" - make PREFIX=/usr DESTDIR="${pkgdir}" install - install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" - install -Dm644 README FAQ -t "${pkgdir}/usr/share/doc/${pkgname}" - install -Dm644 "${srcdir}/st-terminal.desktop" -t "${pkgdir}/usr/share/applications" -} diff --git a/st/st-terminal.desktop b/st/st-terminal.desktop deleted file mode 100644 index c1910b1..0000000 --- a/st/st-terminal.desktop +++ /dev/null @@ -1,11 +0,0 @@ -[Desktop Entry] -Version=1.0 -Name=st -Comment=A simple virtual terminal emulator for X. -GenericName=Terminal Emulator -Exec=st -Icon=utilities-terminal -Terminal=false -Type=Application -Categories=System;TerminalEmulator; -StartupNotify=true -- cgit v1.2.3-70-g09d2