mirror of
https://github.com/archlinux/aur.git
synced 2026-02-19 19:13:21 +01:00
add package
This commit is contained in:
commit
fcb9107036
3 changed files with 56 additions and 0 deletions
14
.SRCINFO
Normal file
14
.SRCINFO
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
pkgbase = sudoku-simple
|
||||
pkgdesc = Simple sudoku game made with raylib, features auto-annotations
|
||||
pkgver = 1.0.1
|
||||
pkgrel = 1
|
||||
url = https://github.com/uwiwiow/sudoku-simple
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
options = !debug
|
||||
source = sudoku-simple-1.0.1-x86_64.tar.gz::https://github.com/uwiwiow/sudoku-simple/releases/download/1.0.1/sudoku-simple-1.0.1-x86_64.tar.gz
|
||||
source = sudoku-simple.desktop
|
||||
sha256sums = 41cdb6e8c8b2cdd6bc46e037755bb31c066da2ce4bf225103f28651ce790e99e
|
||||
sha256sums = 9b840c25ee736a0132d84c66dd08d083aee6de65fc64bb2458b8ecaab184b564
|
||||
|
||||
pkgname = sudoku-simple
|
||||
34
PKGBUILD
Normal file
34
PKGBUILD
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# Maintainer: uwiwiow <uwiwiow@gmail.com>
|
||||
|
||||
pkgname="sudoku-simple"
|
||||
pkgver=1.0.1
|
||||
pkgrel=1
|
||||
pkgdesc="Simple sudoku game made with raylib, features auto-annotations"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/uwiwiow/${pkgname}"
|
||||
license=('MIT')
|
||||
|
||||
options=(!debug)
|
||||
|
||||
depends=()
|
||||
|
||||
source=("$pkgname-$pkgver-$CARCH.tar.gz::https://github.com/uwiwiow/$pkgname/releases/download/$pkgver/$pkgname-$pkgver-$CARCH.tar.gz"
|
||||
"$pkgname.desktop")
|
||||
|
||||
|
||||
sha256sums=(41cdb6e8c8b2cdd6bc46e037755bb31c066da2ce4bf225103f28651ce790e99e
|
||||
9b840c25ee736a0132d84c66dd08d083aee6de65fc64bb2458b8ecaab184b564)
|
||||
|
||||
package() {
|
||||
cd "$srcdir/Sudoku-simple"
|
||||
|
||||
install -Dm755 sudoku-simple "$pkgdir/usr/bin/sudoku-simple"
|
||||
|
||||
install -dm755 "$pkgdir/usr/share/$pkgname/assets"
|
||||
cp -r assets/* "$pkgdir/usr/share/$pkgname/assets/"
|
||||
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
|
||||
|
||||
install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
|
||||
}
|
||||
8
sudoku-simple.desktop
Normal file
8
sudoku-simple.desktop
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Sudoku Simple
|
||||
Comment=Simple sudoku game made with raylib
|
||||
Exec=sudoku-simple
|
||||
Terminal=false
|
||||
Categories=Game;LogicGame;
|
||||
|
||||
Loading…
Add table
Reference in a new issue