diff --git a/_scripts/build_srcinfo.fish b/_scripts/build_srcinfo.fish new file mode 100644 index 0000000..8a5e323 --- /dev/null +++ b/_scripts/build_srcinfo.fish @@ -0,0 +1,7 @@ +fd PKGBUILD | +while read -l pkgfile + set pkgdir (dirname $pkgfile) + pushd $pkgdir && begin + makepkg --printsrcinfo > .SRCINFO + end && popd +end diff --git a/htop-vim-mode-git/.SRCINFO b/htop-vim-mode-git/.SRCINFO index a2a67bb..d6a0ca5 100644 --- a/htop-vim-mode-git/.SRCINFO +++ b/htop-vim-mode-git/.SRCINFO @@ -16,4 +16,3 @@ pkgbase = htop-vim-mode-git sha256sums = SKIP pkgname = htop-vim-mode-git - diff --git a/htop-vim-mode-git/.gitignore b/htop-vim-mode-git/.gitignore index f803327..05c6d4d 100644 --- a/htop-vim-mode-git/.gitignore +++ b/htop-vim-mode-git/.gitignore @@ -1,4 +1,4 @@ * !.gitignore !.SRCINFO -!PKGINFO +!PKGBUILD diff --git a/makefile b/makefile index df841ec..1d88205 100644 --- a/makefile +++ b/makefile @@ -4,5 +4,8 @@ default: test test: namcap +srcinfo: + @fish _scripts/build_srcinfo.fish + namcap: - fd PKGBUILD | xargs namcap + @fd PKGBUILD | xargs namcap diff --git a/readme.md b/readme.md index c163cee..bf389f1 100644 --- a/readme.md +++ b/readme.md @@ -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 diff --git a/ttf-iosevka-lyte/.SRCINFO b/ttf-iosevka-lyte/.SRCINFO index cb26ea0..05dd1b3 100644 --- a/ttf-iosevka-lyte/.SRCINFO +++ b/ttf-iosevka-lyte/.SRCINFO @@ -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 diff --git a/ttf-iosevka-lyte/.gitignore b/ttf-iosevka-lyte/.gitignore index f803327..05c6d4d 100644 --- a/ttf-iosevka-lyte/.gitignore +++ b/ttf-iosevka-lyte/.gitignore @@ -1,4 +1,4 @@ * !.gitignore !.SRCINFO -!PKGINFO +!PKGBUILD diff --git a/ttf-iosevka-lyte/PKGBUILD b/ttf-iosevka-lyte/PKGBUILD new file mode 100644 index 0000000..ba9a381 --- /dev/null +++ b/ttf-iosevka-lyte/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: Daniel Flanagan + +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 +}