summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 05:19:59 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 05:19:59 -0500
commit9125c5b6e4cff962f1ebe59aabc675db9d70051f (patch)
tree37d956ddc4e34de32a7fffeaf72233e307337ad0
parent44b2c370b509bc46df025b8e32fabdd9a10ede2e (diff)
downloadpackages-9125c5b6e4cff962f1ebe59aabc675db9d70051f.tar.gz
packages-9125c5b6e4cff962f1ebe59aabc675db9d70051f.tar.bz2
packages-9125c5b6e4cff962f1ebe59aabc675db9d70051f.tar.xz
packages-9125c5b6e4cff962f1ebe59aabc675db9d70051f.zip
user/font-sony-misc: pull in, take, modernise
-rw-r--r--user/font-sony-misc/APKBUILD39
-rw-r--r--user/lm_sensors/APKBUILD8
2 files changed, 43 insertions, 4 deletions
diff --git a/user/font-sony-misc/APKBUILD b/user/font-sony-misc/APKBUILD
new file mode 100644
index 000000000..cb7690e89
--- /dev/null
+++ b/user/font-sony-misc/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=font-sony-misc
+pkgver=1.0.3
+pkgrel=2
+pkgdesc="Sony fonts"
+url="https://www.X.Org/"
+arch="noarch"
+options="!check" # Cannot test a font.
+license="MIT"
+depends="encodings font-alias fontconfig mkfontdir mkfontscale"
+makedepends="bdftopcf font-util-dev"
+source="https://www.X.Org/releases/individual/font/$pkgname-$pkgver.tar.bz2"
+
+prepare() {
+ cd "$builddir"
+ update_config_sub
+ default_prepare
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --with-fontdir=/usr/share/fonts/misc
+ make
+}
+
+package() {
+ cd "$builddir"
+ make -j1 DESTDIR="$pkgdir" \
+ MKFONTDIR=: \
+ MKFONTSCALE=: \
+ FCCACHE=: \
+ install
+}
+
+sha512sums="c397b4e5081b2946799d701b8c48fca9fd2d55b8fa1dd96d2b29c5cd9996bb7356ae12671bf3bd964e6313bdc154020ed6377534e59ce53067e955e4b37aee1d font-sony-misc-1.0.3.tar.bz2"
diff --git a/user/lm_sensors/APKBUILD b/user/lm_sensors/APKBUILD
index 694adb868..a961baacc 100644
--- a/user/lm_sensors/APKBUILD
+++ b/user/lm_sensors/APKBUILD
@@ -1,14 +1,14 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer:
pkgname=lm_sensors
pkgver=3.4.0
pkgrel=5
pkgdesc="Collection of user space tools for general SMBus access and hardware monitoring."
-url="http://www.lm-sensors.org/"
+url="https://hwmon.wiki.kernel.org/"
arch="all"
-license="GPL"
options="!check" # No test suite.
+license="GPL-2.0-only"
depends="bash sysfsutils"
-makedepends="perl rrdtool-dev bison flex which"
+makedepends="bison flex perl rrdtool-dev cmd:which"
subpackages="$pkgname-dev $pkgname-doc $pkgname-detect $pkgname-sensord
$pkgname-sensord-openrc:sensord_openrc"
#install=sensors.install