summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorYesterday172020-06-27 01:56:32 +0800
committerYesterday172020-06-27 01:56:32 +0800
commitee136b63343afe0f63890b4e4b011f897bacb1b3 (patch)
treed14d239524e1ae7b21899c889ea87a6ab9ec7da7 /PKGBUILD
downloadaur-assdraw.tar.gz
v3.0.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..84eecb4f77a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Yesterday17 <t@yesterday17.cn>
+pkgname=assdraw
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="Tool to produce ASSA-format vector drawings"
+arch=('x86_64')
+url="https://github.com/Aegisub/assdraw"
+depends=('wxgtk2' 'agg')
+
+source=(
+ "$pkgname::git+https://github.com/Yesterday17/assdraw.git"
+)
+
+md5sums=('SKIP')
+
+build() {
+ cd "${pkgname}"
+
+ ./autogen.sh
+ ./configure
+ make
+}
+
+package() {
+ cd "${pkgname}"
+ make DESTDIR="${pkgdir}" install
+
+ cd src
+ install -Dm644 tsukasa.ico "$pkgdir/usr/share/icons/assdraw.ico"
+
+ echo "[Desktop Entry]
+Version=1.0
+Type=Application
+
+Name=ASSDraw3
+Name[zh_CN]=ASSDraw3
+Comment=Tool to produce ASSA-format vector drawings
+Comment[zh_CN]=生成ASSA格式矢量图形的工具
+
+Exec=assdraw %f
+TryExec=assdraw
+StartupNotify=true
+Icon=/usr/share/icons/assdraw.ico
+Terminal=false
+Categories=Graphics;VectorGraphics;GTK;" > "$srcdir/assdraw.desktop"
+ install -Dm644 "$srcdir/assdraw.desktop" "$pkgdir/usr/share/applications/assdraw.desktop"
+}