This commit is contained in:
kin fuyuki 2025-06-17 21:57:02 -03:00
commit 5bc4d9c202
No known key found for this signature in database
GPG key ID: 0E4E8E519FB71401
4 changed files with 21 additions and 18 deletions

View file

@ -5,21 +5,4 @@ pkgdesc="tiny script runner"
arch=('x86_64')
url="https://example.com"
license=('AGPLv3')
depends=('bash')
makedepends=('cmake' 'gcc')
source=("https://github.com/J-K-Tech/${pkgname}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('SKIP') # Change to proper checksum later
build() {
cd "$srcdir/$pkgname-$pkgver"
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
# ✅ Install the license manually if upstream doesnt
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
a

BIN
a.out Executable file

Binary file not shown.

20
build.tmk Normal file
View file

@ -0,0 +1,20 @@
clang++ term.cpp main.cpp -m32 --target=i686-w64-mingw32-gcc -O3 -o tiny9x.exe -Wl,--major-subsystem-version=4,--minor-subsystem-version=0
\n
clang++ term.cpp main.cpp -m32 --target=i686-w64-mingw32-gcc -O3 -o tiny2k.exe -Wl,--major-subsystem-version=5,--minor-subsystem-version=0
\n
clang++ term.cpp main.cpp -m64 --target=x86_64-w64-mingw32-gcc -O3 -o tinyxp64.exe -Wl,--major-subsystem-version=5,--minor-subsystem-version=1
\n
clang++ term.cpp main.cpp -m64 --target=x86_64-w64-mingw32-gcc -O3 -o tiny.exe -Wl,--major-subsystem-version=10,--minor-subsystem-version=1
\n
clang++ term.cpp main.cpp -O3 -o tiny
\n
clang++ term.cpp main.cpp -m32 -O3 -o tiny32
\n
;djgpp term.cpp main.cpp -O3 -o tiny32

BIN
out/tiny Executable file

Binary file not shown.