aboutsummaryrefslogtreecommitdiffstats
path: root/slack/PKGBUILD
blob: 75aaf72a9655f86ac611bf32e40fbd0a2b60070e (plain) (blame)
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
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
pkgname=slack
pkgver=3.0.2
pkgrel=1
pkgdesc="Control your timer slack"
arch=(i686 x86_64)
url="https://codeberg.org/maandree/slack"
license=('custom:ISC')
depends=('linux>=2.6.28')
source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
sha256sums=(1012498dd60dc6d43a4ceb21e9a32430f6a7d6545b702c04db2ce6bfd81daedd)

build() {
    cd "$srcdir/$pkgname"
    make PREFIX=/usr
}

check() {
    cd "$srcdir/$pkgname"
    make PREFIX=/usr check
}

package() {
    cd "$srcdir/$pkgname"
    make PREFIX=/usr DESTDIR="$pkgdir" install
}