mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
main/font-cursor-misc: modernise, deps, noarch, no test, no mapfiles
This commit is contained in:
parent
0c6d9f03dd
commit
a76d1c29bd
@ -1,40 +1,40 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=font-cursor-misc
|
||||
pkgver=1.0.3
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="X.org misc font"
|
||||
url="http://xorg.freedesktop.org/"
|
||||
arch="all"
|
||||
arch="noarch"
|
||||
license="custom"
|
||||
depends="encodings font-alias mkfontscale mkfontdir fontconfig"
|
||||
options="!check" # No test suite.
|
||||
depends="encodings font-alias mkfontscale mkfontdir fontconfig util-macros"
|
||||
makedepends="font-util-dev bdftopcf"
|
||||
install=
|
||||
source="http://www.x.org/releases/individual/font/$pkgname-$pkgver.tar.bz2"
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir"/$pkgname-$pkgver
|
||||
update_config_sub || return 1
|
||||
cd "$builddir"
|
||||
update_config_sub
|
||||
default_prepare
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir"/$pkgname-$pkgver
|
||||
cd "$builddir"
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--with-mapfiles=/usr/share/fonts/util \
|
||||
--with-fontdir=/usr/share/fonts/misc \
|
||||
|| return 1
|
||||
make || return 1
|
||||
--with-fontdir=/usr/share/fonts/misc
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"/$pkgname-$pkgver
|
||||
cd "$builddir"
|
||||
make -j1 DESTDIR="$pkgdir" \
|
||||
MKFONTDIR=: \
|
||||
MKFONTSCALE=: \
|
||||
FCCACHE=: \
|
||||
install || return 1
|
||||
install
|
||||
}
|
||||
|
||||
md5sums="3e0069d4f178a399cffe56daa95c2b63 font-cursor-misc-1.0.3.tar.bz2"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user