-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #180 from pspdev/add-stb
Add stb single header libraries
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
pkgname=stb | ||
pkgver=20240714git | ||
pkgrel=1 | ||
pkgdesc="a collection of single-file public domain libraries for C/C++" | ||
arch=('any') | ||
url="https://github.com/nothings/stb" | ||
license=('Public-Domain or MIT') | ||
groups=('pspdev-default') | ||
depends=() | ||
makedepends=() | ||
optdepends=() | ||
source=("git+https://github.com/nothings/stb.git#commit=013ac3beddff3dbffafd5177e7972067cd2b5083") | ||
sha256sums=('SKIP') | ||
|
||
package() { | ||
cd "stb" | ||
mkdir -m 755 -p "$pkgdir/psp/include/" | ||
install -m 644 *.h "$pkgdir/psp/include/" | ||
|
||
mkdir -m 755 -p "$pkgdir/psp/share/licenses/$pkgname" | ||
install -m 644 LICENSE "$pkgdir/psp/share/licenses/$pkgname" | ||
} |