Skip to content

Commit

Permalink
added pkgbuild template and edited
Browse files Browse the repository at this point in the history
  • Loading branch information
bikobi committed Apr 8, 2024
1 parent 516aab0 commit d5ab2cb
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Your Name [email protected]
pkgname=FBD
pkgver=3.0.0
pkgrel=1
epoch=
pkgdesc="A bash environment for reading jokes and entertainment"
arch=('x86_64')
url="https://github.com/FBDev64/FBD"
license=('GPL')
groups=()
depends=('gum')
install=
changelog=
source=("$pkgname-$pkgver.tar.gz"
"$pkgname-$pkgver.patch")
noextract=()
sha256sums=()
validpgpkeys=()

prepare() {
cd "$pkgname-$pkgver"
patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
}

build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr
make
}

check() {
cd "$pkgname-$pkgver"
make -k check
}

package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}

0 comments on commit d5ab2cb

Please sign in to comment.