Skip to content

Commit

Permalink
add: libcs50-git (#6355)
Browse files Browse the repository at this point in the history
Co-authored-by: Elsie <[email protected]>
  • Loading branch information
vvaibhavv11 and Elsie19 authored Sep 12, 2024
1 parent bed6fd3 commit 83b9849
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ lemonbar-xft-git
lens
lf-bin
libcamera-git
libcs50-git
libcutefish-git
libdisplay-info-git
libdrm
Expand Down
9 changes: 9 additions & 0 deletions packages/libcs50-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
pkgbase = libcs50-git
gives = libcs50
pkgver = 11.0.3
pkgdesc = Library provided by Harvard University for learning the basic C language
makedepends = make
maintainer = Vaibhav Sharma <[email protected]>
source = https://github.com/cs50/libcs50.git

pkgname = libcs50-git
21 changes: 21 additions & 0 deletions packages/libcs50-git/libcs50-git.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
pkgname="libcs50-git"
gives="libcs50"
pkgver="11.0.3"
source=("https://github.com/cs50/libcs50.git")
makedepends=("make")
maintainer=("Vaibhav Sharma <[email protected]>")
pkgdesc="Library provided by Harvard University for learning the basic C language"

build() {
cd "${gives}"
make -j"${NCPU}"
}

package() {
cd "${gives}"
make DESTDIR="${pkgdir}/usr/local" install || true
}

post_install() {
ldconfig /usr/local/lib
}
10 changes: 10 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -5055,6 +5055,16 @@ pkgbase = libcamera-git

pkgname = libcamera-git
---
pkgbase = libcs50-git
gives = libcs50
pkgver = 11.0.3
pkgdesc = Library provided by Harvard University for learning the basic C language
makedepends = make
maintainer = Vaibhav Sharma <[email protected]>
source = https://github.com/cs50/libcs50.git

pkgname = libcs50-git
---
pkgbase = libcutefish-git
gives = libcutefish
pkgver = 0.7
Expand Down

0 comments on commit 83b9849

Please sign in to comment.