Add srcinfo script
This commit is contained in:
parent
28cb16c72d
commit
831c7555de
7
_scripts/build_srcinfo.fish
Normal file
7
_scripts/build_srcinfo.fish
Normal file
|
@ -0,0 +1,7 @@
|
|||
fd PKGBUILD |
|
||||
while read -l pkgfile
|
||||
set pkgdir (dirname $pkgfile)
|
||||
pushd $pkgdir && begin
|
||||
makepkg --printsrcinfo > .SRCINFO
|
||||
end && popd
|
||||
end
|
|
@ -16,4 +16,3 @@ pkgbase = htop-vim-mode-git
|
|||
sha256sums = SKIP
|
||||
|
||||
pkgname = htop-vim-mode-git
|
||||
|
||||
|
|
2
htop-vim-mode-git/.gitignore
vendored
2
htop-vim-mode-git/.gitignore
vendored
|
@ -1,4 +1,4 @@
|
|||
*
|
||||
!.gitignore
|
||||
!.SRCINFO
|
||||
!PKGINFO
|
||||
!PKGBUILD
|
||||
|
|
5
makefile
5
makefile
|
@ -4,5 +4,8 @@ default: test
|
|||
|
||||
test: namcap
|
||||
|
||||
srcinfo:
|
||||
@fish _scripts/build_srcinfo.fish
|
||||
|
||||
namcap:
|
||||
fd PKGBUILD | xargs namcap
|
||||
@fd PKGBUILD | xargs namcap
|
||||
|
|
|
@ -6,7 +6,7 @@ This repository holds my AUR packages.
|
|||
|
||||
## Packages
|
||||
|
||||
+ [`htop-vim-mode-git`](./htop-vim-mode-git)
|
||||
|
||||
- [`htop-vim-mode-git`](./htop-vim-mode-git) (Deleted since my changes were mainlined)
|
||||
- [`ttf-iosevka-lyte`](./ttf-iosevka-lyte)
|
||||
|
||||
[aur-search]: https://aur.archlinux.org/packages/?SeB=m&K=lytedev
|
||||
|
|
|
@ -5,7 +5,9 @@ pkgbase = ttf-iosevka-lyte
|
|||
url = https://github.com/lytedev/Iosevka
|
||||
arch = any
|
||||
license = SIL Open Font License v1.1
|
||||
source = https://files.lyte.dev/iosevkalyte/rel/iosevkalyte-${pkgver}.tar.zstd
|
||||
source = https://files.lyte.dev/iosevkalyte/rel/iosevkalyte-7.2.8.tar.zstd
|
||||
source = ttf-iosevka-lyte-7.2.8-1-LICENSE.md::https://files.lyte.dev/iosevkalyte/rel/iosevkalyte-7.2.8-LICENSE.md
|
||||
sha256sums = b52d069ccdc28bce58c5ef640fa6782cd01ca0b603e9b87fa0f9b5c9eac47cb3
|
||||
sha256sums = 72c3d557ff41d871680652f56afd565ba6834c90eadc45a4ec15410dce1c0c80
|
||||
|
||||
pkgname = ttf-iosevka-lyte
|
||||
|
|
2
ttf-iosevka-lyte/.gitignore
vendored
2
ttf-iosevka-lyte/.gitignore
vendored
|
@ -1,4 +1,4 @@
|
|||
*
|
||||
!.gitignore
|
||||
!.SRCINFO
|
||||
!PKGINFO
|
||||
!PKGBUILD
|
||||
|
|
19
ttf-iosevka-lyte/PKGBUILD
Normal file
19
ttf-iosevka-lyte/PKGBUILD
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Maintainer: Daniel Flanagan <daniel@lyte.dev>
|
||||
|
||||
pkgname=ttf-iosevka-lyte
|
||||
pkgver=7.2.8
|
||||
pkgrel=1
|
||||
pkgdesc="lytedev's customized Iosevka font"
|
||||
arch=('any')
|
||||
url="https://github.com/lytedev/Iosevka"
|
||||
license=('SIL Open Font License v1.1')
|
||||
source=("https://files.lyte.dev/iosevkalyte/rel/iosevkalyte-${pkgver}.tar.zstd"
|
||||
"${pkgname}-${pkgver}-${pkgrel}-LICENSE.md::https://files.lyte.dev/iosevkalyte/rel/iosevkalyte-${pkgver}-LICENSE.md")
|
||||
sha256sums=("b52d069ccdc28bce58c5ef640fa6782cd01ca0b603e9b87fa0f9b5c9eac47cb3"
|
||||
"72c3d557ff41d871680652f56afd565ba6834c90eadc45a4ec15410dce1c0c80")
|
||||
|
||||
package() {
|
||||
install -d ${pkgdir}/usr/share/fonts/TTF/
|
||||
install -m644 iosevkalyte/ttf/*.ttf ${pkgdir}/usr/share/fonts/TTF/
|
||||
install -D -m644 ${pkgname}-${pkgver}-${pkgrel}-LICENSE.md ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md
|
||||
}
|
Loading…
Reference in a new issue