diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ef17e7c --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/pkg +/src +/proxyenv*.pkg.tar.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..604e386 --- /dev/null +++ b/PKGBUILD @@ -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" +}