diff options
author | ayalhw | 2020-01-27 16:04:32 +0800 |
---|---|---|
committer | ayalhw | 2020-01-27 16:04:32 +0800 |
commit | 18bbab33aff860e8c3d69773cd90d7c76f225509 (patch) | |
tree | fc4ab74374b574f200aaef646b3f75ad777b038f | |
download | aur-18bbab33aff860e8c3d69773cd90d7c76f225509.tar.gz |
Update
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 60 | ||||
-rw-r--r-- | lemon-lime.desktop | 30 |
4 files changed, 111 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..421271d64d67 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = lemon-lime + pkgdesc = 为了 OI 比赛而生的基于 Lemon 的轻量评测系统 | A tiny judging environment for OI contest based on Project_LemonPlus + pkgver = v.0.1.0120 + pkgrel = 1 + url = https://github.com/iotang/Project_LemonLime + arch = x86_64 + license = GPL3 + depends = qt5-base + provides = lemon-lime + conflicts = lemon-lime-git + source = https://github.com/iotang/Project_LemonLime/archive/v.0.1.0120-beta.tar.gz + source = lemon-lime.desktop + md5sums = SKIP + md5sums = 168d064b2c784975c30b30c27ba18062 + +pkgname = lemon-lime + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..9acdf966c1a9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg +src +*.tar.gz +*.pkg.tar.zst diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5f8f51a7e98f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,60 @@ +# Maintainer: Coelacanthus <liuhongwu2003@outlook.com> + +pkgname=lemon-lime +pkgver=v.0.1.0120 +pkgrel=1 +epoch= +pkgdesc="为了 OI 比赛而生的基于 Lemon 的轻量评测系统 | A tiny judging environment for OI contest based on Project_LemonPlus" +arch=(x86_64) +url="https://github.com/iotang/Project_LemonLime" +license=('GPL3') +groups=() +depends=('qt5-base') +makedepends=() +checkdepends=() +optdepends=() +provides=("lemon-lime") +conflicts=("lemon-lime-git") +replaces=() +backup=() +options=() +install= +changelog= +source=("https://github.com/iotang/Project_LemonLime/archive/${pkgver}-beta.tar.gz" + "lemon-lime.desktop" + ) +noextract=() +md5sums=('SKIP' + '168d064b2c784975c30b30c27ba18062' + ) +validpgpkeys=() + +prepare() { + cd "Project_LemonLime-$pkgver-beta" + +} + +build() { + cd "Project_LemonLime-$pkgver-beta" + #./configure --prefix=/usr + g++ watcher_unix.cpp -o watcher_unix -O2 + qmake lemon.pro + make + +} + +check() { + cd "Project_LemonLime-$pkgver-beta" + make -k check +} + +package() { + cd "Project_LemonLime-$pkgver-beta" + install -D -m755 lemon "$pkgdir/usr/bin/$pkgname" + + install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -D -m644 pics/icon.png "$pkgdir/usr/share/pixmaps/lemon-lime.png" + install -D -m644 ../$pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop" + install -D -m644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" + #install -D -m644 Changelog.md "$pkgdir/usr/share/doc/$pkgname/Changelog.md" +} diff --git a/lemon-lime.desktop b/lemon-lime.desktop new file mode 100644 index 000000000000..dd3f719d5e93 --- /dev/null +++ b/lemon-lime.desktop @@ -0,0 +1,30 @@ +[Desktop Entry] + +# The type as listed above +Type=Application + +# The version of the desktop entry specification to which this file complies +Version=1.0 + +# The name of the application +Name=LemonLime + +# A comment which can/will be used as a tooltip +Comment=A tiny judging environment for OI contest based on Project_LemonPlus + +# The path to the folder in which the executable is run +Path=/usr/bin/ + +# The executable of the application, possibly with arguments. +Exec=lemon-lime + +# The name of the icon that will be used to display this entry +Icon=/usr/share/pixmaps/lemon-lime.png + +# Describes whether this application needs to be run in a terminal or not +Terminal=false + +# Describes the categories in which this entry should be shown +Categories=Tools; + + |