diff options
author | Tharre <tharre3@gmail.com> | 2021-12-07 06:55:46 +0100 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2021-12-07 06:55:58 +0100 |
commit | 3c678e8595f167dd1ffcfeab4c4bfb82f07a3e5b (patch) | |
tree | a80a2f6c5778fde7ac5322870f4111da7dbf0b0d /st/PKGBUILD | |
parent | 41750176fc06ba65ff009259e727e0eed0348c39 (diff) | |
download | pkgbuilds-3c678e8595f167dd1ffcfeab4c4bfb82f07a3e5b.tar.gz pkgbuilds-3c678e8595f167dd1ffcfeab4c4bfb82f07a3e5b.tar.xz pkgbuilds-3c678e8595f167dd1ffcfeab4c4bfb82f07a3e5b.zip |
st: rename to st-custom to match the package name
Diffstat (limited to 'st/PKGBUILD')
-rw-r--r-- | st/PKGBUILD | 41 |
1 files changed, 0 insertions, 41 deletions
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 <tharre3@gmail.com> - -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" -} |