summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f14f7289e58251f9da0aaa1d64075a1abe5c5460 (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
# Maintainer: Floranaras 
pkgname=teehee-bday
pkgver=1.0.0
pkgrel=1
pkgdesc="A fun CLI tool that displays ASCII art birthday message using C recursion"
arch=('x86_64' 'i686' 'aarch64')
url="https://github.com/Floranaras/teehee-bday"
license=('MIT')
depends=('glibc')
makedepends=('gcc')
source=("$pkgname-$pkgver.tar.gz::https://github.com/Floranaras/teehee-bday/archive/v$pkgver.tar.gz")
sha256sums=('d49e2f21f9af1c4ec8af76a720589989616d7f342cb3b5a7d55e889407c7188c')

build() {
    cd "$srcdir/$pkgname-$pkgver"
    gcc -o teehee-bday birthday.c -O2 -Wall
}

package() {
    cd "$srcdir/$pkgname-$pkgver"
    
    # Install the binary
    install -Dm755 teehee-bday "$pkgdir/usr/bin/teehee-bday"
}