Skip to content

Instantly share code, notes, and snippets.

@Brli
Last active April 11, 2018 14:34
Show Gist options
  • Save Brli/86562aa126a49169c6ba to your computer and use it in GitHub Desktop.
Save Brli/86562aa126a49169c6ba to your computer and use it in GitHub Desktop.
PKGBUILD for null replacement of font sets.
pkgname=ttf-fonts-null
pkgver=1000.9999
pkgrel=1
pkgdesc='dummy package'
url='file:///'
arch=(any)
license=('MIT')
provides=('xorg-fonts-misc' 'xorg-fonts-cyrillic' 'xorg-fonts-alias' 'xorg-fonts-100dpi' 'xorg-fonts-75dpi'
'gsfonts' 'ttf-dejavu' 'oxygen-fonts' 'ttf-oxygen' 'ttf-font' 'cantarell-fonts')
conflicts=('xorg-fonts-misc' 'xorg-fonts-cyrillic' 'xorg-fonts-alias' 'xorg-fonts-100dpi' 'xorg-fonts-75dpi'
'gsfonts' 'ttf-dejavu' 'oxygen-fonts' 'ttf-oxygen' 'cantarell-fonts')
replaces=(${conflicts[@]})
package() {
msg 'Dummy package!'
install -Dm644 /dev/stdin $pkgdir/usr/share/fonts/.null<<END
Created by dummy package $pkgname
Replaces following fonts
${conflicts[@]}
Provides following fonts for complementary of desktop packages
${provides[@]}
END
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment