aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2016-01-24 19:48:48 +0000
committerTharre <tharre3@gmail.com>2016-01-24 19:48:48 +0000
commit27913c41fa5e1d78a6e9bef74025a8cf21f51ea6 (patch)
treefdac92fc5ac4b0435ed5feaebb0b58dbb74ac869
parenta76dfc1972c361bf4f522e18b07a1a2bf0ffea49 (diff)
downloadpkgbuilds-27913c41fa5e1d78a6e9bef74025a8cf21f51ea6.tar.gz
pkgbuilds-27913c41fa5e1d78a6e9bef74025a8cf21f51ea6.tar.xz
pkgbuilds-27913c41fa5e1d78a6e9bef74025a8cf21f51ea6.zip
st: rename package from st-custom to st
-rw-r--r--st/.gitignore (renamed from st-custom/.gitignore)0
-rw-r--r--st/PKGBUILD (renamed from st-custom/PKGBUILD)15
-rw-r--r--st/st-terminal.desktop (renamed from st-custom/st-terminal.desktop)0
3 files changed, 7 insertions, 8 deletions
diff --git a/st-custom/.gitignore b/st/.gitignore
index 5979724..5979724 100644
--- a/st-custom/.gitignore
+++ b/st/.gitignore
diff --git a/st-custom/PKGBUILD b/st/PKGBUILD
index d1fbf01..33efc08 100644
--- a/st-custom/PKGBUILD
+++ b/st/PKGBUILD
@@ -1,7 +1,6 @@
# Maintainer: Tharre <tharre3@gmail.com>
-pkgname=st-custom
-_pkgname=st
+pkgname=st
pkgver=0.6.r31.g5d2d9d5
pkgrel=1
pkgdesc='Simple virtual terminal emulator for X'
@@ -15,26 +14,26 @@ source=('st::git+https://github.com/Tharre/st-transparency.git#branch=custom_con
md5sums=('SKIP'
'bbe3714218145d39b6920961f27692e6')
-provides=("${_pkgname}")
-conflicts=("${_pkgname}")
+provides=("${pkgname}")
+conflicts=("${pkgname}")
pkgver() {
- cd "${srcdir}/${_pkgname}"
+ cd "${srcdir}/${pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
- cd "${srcdir}/${_pkgname}"
+ cd "${srcdir}/${pkgname}"
ln -sf config.def.h config.h
}
build() {
- cd "${srcdir}/${_pkgname}"
+ cd "${srcdir}/${pkgname}"
make
}
package() {
- cd "${srcdir}/${_pkgname}"
+ cd "${srcdir}/${pkgname}"
make PREFIX=/usr DESTDIR="${pkgdir}" TERMINFO="${pkgdir}/usr/share/terminfo" install
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm644 README FAQ -t "${pkgdir}/usr/share/doc/${pkgname}"
diff --git a/st-custom/st-terminal.desktop b/st/st-terminal.desktop
index c1910b1..c1910b1 100644
--- a/st-custom/st-terminal.desktop
+++ b/st/st-terminal.desktop