diff options
Diffstat (limited to 'repo/font-alias')
-rw-r--r-- | repo/font-alias/font-alias.xibuild | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/repo/font-alias/font-alias.xibuild b/repo/font-alias/font-alias.xibuild index 342abfe..551eca3 100644 --- a/repo/font-alias/font-alias.xibuild +++ b/repo/font-alias/font-alias.xibuild @@ -1,20 +1,27 @@ #!/bin/sh -MAKEDEPS="make mkfontscale" -DEPS="fontconfig libxcb xcursor-themes" +NAME="font-alias" +DESC="X.org font alias files" + +MAKEDEPS="" PKG_VER=1.0.4 -SOURCE=https://www.x.org/pub/individual/font/font-alias-$PKG_VER.tar.bz2 +SOURCE="https://www.x.org/releases/individual/font/font-alias-$PKG_VER.tar.bz2" + +build() { + ./configure \ + --prefix=/usr \ + --with-fontrootdir=/usr/share/fonts + make +} -build () { - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static - make +check() { + make check } -package () { - make DESTDIR=$PKG_DEST install +package() { + make DESTDIR="$PKG_DEST" install + + install -Dm644 COPYING "$PKG_DEST/usr/share/licenses/font-alias/COPYING" +} -install -d -m755 $PKG_DEST/usr/share/fonts && -ln -sf /usr/share/fonts/X11/OTF $PKG_DEST/usr/share/fonts/X11-OTF && -ln -sf /usr/share/fonts/X11/TTF $PKG_DEST/usr/share/fonts/X11-TTF -}
\ No newline at end of file |