summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 78f22df53d9b9fd6b6cf3caf58770962f5ea4fcd (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: jjacky
_pkgname=slicd
pkgname=$_pkgname-musl
pkgver=0.2.0
pkgrel=1
pkgdesc="simple lightweight Linux cron daemon"
arch=('i686' 'x86_64')
url="https://jjacky.com/slicd"
license=('GPL3+')
depends=('musl')
makedepends=('skalibs-musl>=2.4.0.0')
options=('staticlibs')
source=(https://jjacky.com/$_pkgname/$_pkgname-$pkgver.tar.gz)
sha256sums=('da0d5fb624f3c7e293f49fd83a19a1085c955dbe5c13303da8d3cfe52263ec73')
provides=($_pkgname)
conflicts=($_pkgname)

build() {
  cd "$_pkgname-$pkgver"

  export CPPFLAGS='-nostdinc -isystem /usr/lib/musl/include -isystem /usr/include'
  export CC="musl-gcc"
  ./configure --bindir=/usr/bin
  make
}

package() {
  cd "$_pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: