diff --git a/community/beanstalkd/APKBUILD b/community/beanstalkd/APKBUILD
index 3bdf535112a6f6b265de442344af694904464fc7..b0a7d53acab0d768b3613b7944578356d88215ae 100644
--- a/community/beanstalkd/APKBUILD
+++ b/community/beanstalkd/APKBUILD
@@ -1,16 +1,16 @@
 # Contributor: Francesco Colista <fcolista@alpinelinux.org>
 # Maintainer: Francesco Colista <fcolista@alpinelinux.org>
 pkgname=beanstalkd
-pkgver=1.12
-pkgrel=2
+pkgver=1.13
+pkgrel=0
 pkgdesc="Beanstalk is a simple, fast work queue"
-url="http://kr.github.io/beanstalkd/"
+url="https://kr.github.io/beanstalkd/"
 arch="all"
 license="MIT"
 makedepends="clang"
 install="$pkgname.pre-install"
 pkgusers="beanstalk"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-openrc"
 source="$pkgname-$pkgver.tar.gz::https://github.com/kr/beanstalkd/archive/v$pkgver.tar.gz
 	$pkgname.confd
 	$pkgname.initd
@@ -21,6 +21,10 @@ build() {
 	make
 }
 
+check() {
+	make check
+}
+
 package() {
 	mkdir -p "$pkgdir"/var/lib/beanstalkd
 	chown $pkgusers "$pkgdir"/var/lib/beanstalkd
@@ -32,7 +36,9 @@ package() {
 	install -D -m644 "doc/beanstalkd.1" "$pkgdir/usr/share/man/man1/beanstalkd.1"
 }
 
-sha512sums="347f8cf29501d4bf1a01a472f8f6265d1211eadfaa4e5626c8fcab5b1f8116e1e0ddee2a0c82ac116ee60655a2e3b514d254f98c2154be76109a24d77f7d8210  beanstalkd-1.12.tar.gz
+sha512sums="
+7b5d1a185765a6abe4f1fb8ff2ce7ab0d00b9b2d87ed78ee6349895cdab43e7eac9bb9da5aa1e7b378038e69ac20113e7a663529b0fd77b697257bc384b7deda  beanstalkd-1.13.tar.gz
 0460ba20e5596308a1a07ce50a8e431de6a86d557e0b4c63097c8d5998dc5704b56bec573fce37619cc4f5c0e7abf28ad251b4279fd6ad7fceb0e93b49d221fe  beanstalkd.confd
 6b665411341033c16781f8ef254a527ff60629860fd649bb7aa4b79dabbd87edee8d33a4579a4f451eb8a5fbb979d2cc3f8a23d4c5e2eaa18c7225362f94df3e  beanstalkd.initd
-42949d11294b5f42c96d06ce13aff76d596c3268af7442ade669cada29a58ed7612bf88521e6621bb100232b5875c982f3e6ddb1989799d74175135c89981146  remove-werror.patch"
+42949d11294b5f42c96d06ce13aff76d596c3268af7442ade669cada29a58ed7612bf88521e6621bb100232b5875c982f3e6ddb1989799d74175135c89981146  remove-werror.patch
+"