summaryrefslogtreecommitdiff
path: root/repo/font-alias/font-alias.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-05-17 17:01:27 +0100
committerdavidovski <david@davidovski.xyz>2023-05-17 17:01:27 +0100
commit0d37a1ef234c38b27faba43bc3a22f985d311deb (patch)
treedde8df9f508e7323c3d7df599ceade7705c40acd /repo/font-alias/font-alias.xibuild
parentf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (diff)
Remove all firmware
Diffstat (limited to 'repo/font-alias/font-alias.xibuild')
-rw-r--r--repo/font-alias/font-alias.xibuild31
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