test2
This commit is contained in:
parent
a8f33e3620
commit
5bc4d9c202
4 changed files with 21 additions and 18 deletions
19
PKGBUILD
19
PKGBUILD
|
|
@ -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 doesn’t
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
a
|
||||
BIN
a.out
Executable file
BIN
a.out
Executable file
Binary file not shown.
20
build.tmk
Normal file
20
build.tmk
Normal 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
BIN
out/tiny
Executable file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue