Add PKGBUILD for packaging for archlinux, add gitignore
This commit is contained in:
parent
dcf261e622
commit
d658bbab9c
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
/pkg
|
||||
/src
|
||||
/proxyenv*.pkg.tar.*
|
27
PKGBUILD
Normal file
27
PKGBUILD
Normal file
|
@ -0,0 +1,27 @@
|
|||
pkgname='proxyenv-git'
|
||||
pkgver=0
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
url="https://git.leafee98.com/leafee98/proxyenv"
|
||||
pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
|
||||
license=('MIT')
|
||||
depends=('bash')
|
||||
|
||||
source=(
|
||||
"proxyenv"
|
||||
"proxyenv.conf"
|
||||
)
|
||||
|
||||
sha256sums=(
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
)
|
||||
|
||||
pkgver() {
|
||||
git describe --tags --long | cut -c 2- | sed -e 's/-/./g'
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm 755 "${srcdir}/proxyenv" "${pkgdir}/usr/bin/proxyenv"
|
||||
install -Dm 644 "${srcdir}/proxyenv.conf" "${pkgdir}/etc/proxyenv.conf"
|
||||
}
|
Loading…
Reference in a new issue