pkgbuild-micro-bin

Modern and intuitive terminal-based text editor
git clone git://fossdaily.xyz/pkgbuild-micro-bin
Log | Files | Refs

commit fc389a0f8e36baef7b81f3e97b0e9a1f4c249088
Author: caltlgin <contact@fossdaily.xyz>
Date:   Wed, 18 Nov 2020 17:03:38 +1300

Add to caltlgin repo

Diffstat:
A.SRCINFO | 22++++++++++++++++++++++
A.gitignore | 4++++
APKGBUILD | 34++++++++++++++++++++++++++++++++++
3 files changed, 60 insertions(+), 0 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = micro-bin + pkgdesc = Modern and intuitive terminal-based text editor + pkgver = 2.0.8 + pkgrel = 1 + url = https://github.com/zyedidia/micro + arch = x86_64 + arch = armv7h + arch = aarch64 + license = MIT + depends = hicolor-icon-theme + optdepends = xclip: Required for copying/pasting text + provides = micro + conflicts = micro + source_x86_64 = micro-2.0.8-x86_64.tar.gz::https://github.com/zyedidia/micro/releases/download/v2.0.8/micro-2.0.8-linux64.tar.gz + sha256sums_x86_64 = 7a705a60fe5da8fdfbb1423b560ae120a59af963ec73e3548ef97a6a688cd7cf + source_armv7h = micro-2.0.8-armv7h.tar.gz::https://github.com/zyedidia/micro/releases/download/v2.0.8/micro-2.0.8-linux-arm.tar.gz + sha256sums_armv7h = 08fa21e19b4fdece3696aed8cd03d60bb65f1c295c5cdce645e3725628ea37ca + source_aarch64 = micro-2.0.8-aarch64.tar.gz::https://github.com/zyedidia/micro/releases/download/v2.0.8/micro-2.0.8-linux-arm64.tar.gz + sha256sums_aarch64 = c39f49432e4e93c46a21c20bfc250fa2cf7a4dfb01af6d3684b3c45f0ed7c240 + +pkgname = micro-bin + diff --git a/.gitignore b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD diff --git a/PKGBUILD b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz> + +_pkgname='micro' +pkgname="${_pkgname}-bin" +pkgver=2.0.8 +pkgrel=1 +pkgdesc='Modern and intuitive terminal-based text editor' +arch=('x86_64' 'armv7h' 'aarch64') +url='https://github.com/zyedidia/micro' +license=('MIT') +depends=('hicolor-icon-theme') +optdepends=('xclip: Required for copying/pasting text') +provides=("${_pkgname}") +conflicts=("${_pkgname}") + +source_x86_64=("${_pkgname}-${pkgver}-x86_64.tar.gz::${url}/releases/download/v${pkgver}/${_pkgname}-${pkgver}-linux64.tar.gz") +source_armv7h=("${_pkgname}-${pkgver}-armv7h.tar.gz::${url}/releases/download/v${pkgver}/${_pkgname}-${pkgver}-linux-arm.tar.gz") +source_aarch64=("${_pkgname}-${pkgver}-aarch64.tar.gz::${url}/releases/download/v${pkgver}/${_pkgname}-${pkgver}-linux-arm64.tar.gz") + +sha256sums_x86_64=('7a705a60fe5da8fdfbb1423b560ae120a59af963ec73e3548ef97a6a688cd7cf') +sha256sums_armv7h=('08fa21e19b4fdece3696aed8cd03d60bb65f1c295c5cdce645e3725628ea37ca') +sha256sums_aarch64=('c39f49432e4e93c46a21c20bfc250fa2cf7a4dfb01af6d3684b3c45f0ed7c240') + +package() { + cd "${_pkgname}-${pkgver}" + install -Dvm755 "${_pkgname}" -t "${pkgdir}/usr/bin" + install -Dvm644 "${_pkgname}.desktop" -t "${pkgdir}/usr/share/applications" + install -Dvm644 "${_pkgname}.svg" -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps" + install -Dvm644 "${_pkgname}.1" -t "${pkgdir}/usr/share/man/man1" + install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${_pkgname}" + install -Dvm644 {'LICENSE','LICENSE-THIRD-PARTY'} -t "${pkgdir}/usr/share/licenses/${_pkgname}" +} + +# vim: ts=2 sw=2 et: