1diff --git a/apks/tres/APKBUILD b/apks/tres/APKBUILD
2new file mode 100644
3index 0000000000000000000000000000000000000000..a9c7f73e38116c572c728ee51d73a89ca0fc2913
4--- /dev/null
5+++ b/apks/tres/APKBUILD
6@@ -0,0 +1,37 @@
7+# Maintainer: Gabriel Arakaki Giovanini <mail@gabrielgio.me>
8+pkgname=tres
9+pkgver=0.1.0
10+pkgrel=0
11+pkgdesc="Simple rule of tree"
12+url="https://git.sr.ht/~gabrielgio/tres"
13+arch="noarch"
14+license="MIT"
15+options="!check" # this can't be tested
16+builddir="$srcdir/$pkgname-$pkgver/"
17+subpackages="$pkgname-nginx:_nginx:noarch"
18+
19+source="
20+ https://artifacts.gabrielgio.me/archive/$pkgname/$pkgname-$pkgver.tar.gz
21+ "$pkgname".nginx.conf
22+"
23+
24+build() {
25+ echo "skipping build"
26+}
27+
28+_nginx() {
29+ depends="nginx tres"
30+ pkgdesc="nginx configuration for $pkgname"
31+ install -Dm644 "$srcdir"/"$package"/"$pkgname".nginx.conf \
32+ "$subpkgdir"/etc/nginx/http.d/"$pkgname".nginx.conf
33+}
34+
35+package() {
36+ mkdir -p "$pkgdir"/usr/share/webapps/"$pkgname"
37+ cp -dr index.html "$pkgdir"/usr/share/webapps/"$pkgname"
38+}
39+
40+sha512sums="
41+c8a10539b56026804843c62ff423ad5cc596fd49a04be4642f6319f2110679388554d0e45ea1928d7d2b8791e46b49d3d3a8d43c9c9d79d5ca96af5eea6ead64 tres-0.1.0.tar.gz
42+8dcf6312a400ce876d09bf2e050f50151c6a8f56bc8d7157e2769274ea472831601a7a2c9795d3eba64fe33ca0eaf723681e7ec3944b8ba61fde8df8a067cba0 tres.nginx.conf
43+"
44diff --git a/apks/tres/tres.nginx.conf b/apks/tres/tres.nginx.conf
45new file mode 100644
46index 0000000000000000000000000000000000000000..b884eb73cef3a4b176031c559c062ba009a01654
47--- /dev/null
48+++ b/apks/tres/tres.nginx.conf
49@@ -0,0 +1,4 @@
50+server {
51+ server_name tres.lan;
52+ root /usr/share/webapps/tres;
53+}