aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a43d2395a7e648f5c7e62ba1cd33429114b739aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: ivanch <jose.henrique.ivan@gmail.com>

pkgname=random
pkgver=1.3
pkgrel=1
pkgdesc="Random number generator."
arch=("any")
url="https://github.com/ivanch/random"
license=('MIT')
depends=('gcc')
source=("${pkgname}::git+https://github.com/ivanch/random")
sha1sums=('SKIP')

package(){
    cd "$pkgname"
    mkdir -p $pkgdir/usr/bin
    gcc random.c -o random
    install -D -m755 ./random $pkgdir/usr/bin/$pkgname
}