summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 91673ee960053d52783b6f2a8359e3c86263ffba (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
# Maintainer: reck1610 <reck1610@gmail.com>
# Contributor: reck1610 <reck1610@gmail.com>

pkgname=binarix
pkgver=0.3
pkgrel=1
pkgdesc="binarix - a matrix styled linux console locker"
arch=('i686' 'x86_64')
url="https://gitlab.com/reck1610/binarix"
license=('GPL2')
depends=('ncurses' 'glibc')
source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/reck1610/$pkgname/repository/archive.tar.gz?ref=release%2F$pkgver")
md5sums=('3690cb489a9502589031cb9e4f63bf7f')

build() {
  cd "$srcdir"
  mv "$pkgname-release/"$(ls "$pkgname-release") "$pkgname-$pkgver"
  rm -rf "$pkgname-release"
  cd "$srcdir/$pkgname-$pkgver"
  make all
}

package() {
  mkdir -p "$pkgdir/usr/bin/"
  cd "$srcdir/$pkgname-$pkgver"
  install -m4555 -o root $pkgname "$pkgdir/usr/bin/"
}