summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 53c378b536c92110377f3ab60c99296af9e10de3 (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
33
34
35
36
37
# Maintainer: hanss314 <hanss314@gmail.com>
pkgname=apush
pkgver=0.0.3
pkgrel=1
pkgdesc="A Potentially Useful SHell"
arch=('any')
url="https://gitlab.com/hanss314/apush"
license=('MIT')
groups=()
depends=()
makedepends=('make')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
noextract=()

prepare() {
  git clone "$url" "$pkgname-$pkgver"
  cd "$pkgname-$pkgver"
  cd src
  sed -i "s/DESTDIR = \/usr\/local\/bin/DESTDIR = \/usr\/bin/" Makefile
}
build() {
  cd "$pkgname-$pkgver/src"
  make
}

package() {
  cd "$pkgname-$pkgver/src"
  mkdir -p "$pkgdir/usr/bin"
  make DESTDIR="$pkgdir/usr/bin" install
}