1diff --git a/README.md b/README.md
2index f0599e1a801261697429175767cedffecd1370ab..b7fe22afab465130a212594e727f4cd6d73c0eed 100644
3--- a/README.md
4+++ b/README.md
5@@ -62,3 +62,10 @@ - **version**: 0.11.1
6 - **reason**: Avoid edge repository
7 - **releases**: https://github.com/prometheus-community/postgres_exporter/releases
8 - **source**: https://git.alpinelinux.org/aports/tree/community/prometheus-postgres-exporter?h=master
9+
10+## dlib
11+- **link**: https://dlib.net
12+- **version**: 19.24
13+- **reason**: Avoid testing repository
14+- **releases**: https://sourceforge.net/p/dclib/news/
15+- **source**: https://git.alpinelinux.org/aports/tree/testing/dlib?h=master
16diff --git a/apks/dlib/APKBUILD b/apks/dlib/APKBUILD
17new file mode 100644
18index 0000000000000000000000000000000000000000..919f591e66c6460cfca0c579ab6f00b09301483f
19--- /dev/null
20+++ b/apks/dlib/APKBUILD
21@@ -0,0 +1,35 @@
22+# Contributor: Davis E. King <davis@dlib.net>
23+# Maintainer: Adriaan Groenenboom <agboom@pm.me>
24+pkgname=dlib
25+pkgver=19.24
26+pkgrel=1
27+pkgdesc="A toolkit for making real world machine learning and data analysis applications in C++"
28+url="http://dlib.net"
29+arch="x86_64"
30+license="BSL-1.0"
31+makedepends="
32+ cmake
33+ libjpeg-turbo-dev
34+ libpng-dev
35+ libx11-dev
36+ openblas-dev
37+ samurai
38+ "
39+subpackages="$pkgname-dev"
40+source="dlib-$pkgver.tar.bz2::https://downloads.sourceforge.net/project/dclib/dlib/v$pkgver/dlib-$pkgver.tar.bz2"
41+
42+build() {
43+ cmake -B build -G Ninja \
44+ -DCMAKE_INSTALL_PREFIX=/usr \
45+ -DBUILD_SHARED_LIBS=ON \
46+ -DCMAKE_BUILD_TYPE=None
47+ cmake --build build
48+}
49+
50+package() {
51+ DESTDIR=$pkgdir cmake --install build
52+}
53+
54+sha512sums="
55+c12c166d7c59ea632d02d8fb6d3e0b1d42212ed1f856ec015408868308374f5f1ac75abfa916dd94862269543b91bc2b4c75fd3078c14063309808a15a14d2fe dlib-19.24.tar.bz2
56+"