summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 401694637f1f7d7cc03077ddfeb3271b2a83c2e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Porta <portalmaster137@gmail.com>
pkgname="printargnum"
pkgver="1.0.0"
pkgrel="1"
pkgdesc="im having fun with this."
arch=('x86_64')
_archive_url="https://github.com/portalmaster137/printargslol/raw/master/archive.7z"
license=('MIT')
depends=('p7zip' 'gcc' 'cmake')
source=($_archive_url)
sha256sums=('8828402a4a8290f314bd95fb1c0f96a40f0392e7e9d1e611ae2d6501cb630314')

build() {
    cd "$srcdir"
    7z x -aoa archive.7z
    cmake . -B ./build
    cmake --build ./build
}

package() {
    cd "$srcdir"
    install -Dm755 ./build/printargnum "$pkgdir/usr/bin/printargnum"
}