aboutsummaryrefslogtreecommitdiffstats
path: root/testing/toxic/APKBUILD
blob: c9f769288724b6b062bb0225e824fc0b19d3440e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>

pkgname=toxic
pkgver=0.2.7
pkgrel=0
pkgdesc='Ncurses based client for Tox'
arch='x86'
url='https://github.com/Tox/toxic'
license='GPL3'
makedepends='tox-dev ncurses-dev libsodium-dev autoconf automake libtool'
source="$url/archive/$pkgver.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
  cd "$_builddir"
  autoreconf -fi || return 1
}

build() {
  cd "$_builddir"
  ./configure --prefix=/usr || return 1
  make || return 1
}

package() {
  make -C "$_builddir" DESTDIR="$pkgdir" install || return 1
}

md5sums="7cbbfb2c092f0878ffebf8cdab71f7c8  0.2.7.tar.gz"
sha256sums="767a22106389449a603b3ea8bda6885380e035e4f9d2914e93b315451b848736  0.2.7.tar.gz"
sha512sums="577c79cede2026b33390404a7ed7a49d25141d8565f614f13e29836c168386266e8aceefb7ba2b41f0df3ec83d14f5eb4c5f684ed54fe1bd11b9b57d915aba41  0.2.7.tar.gz"