summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAnarky2018-07-13 09:12:16 +0200
committerAnarky2018-07-13 09:12:16 +0200
commit3d8bcb6640fd87e768923e468a7680ee7d59b3b6 (patch)
tree7e84c9d6abd0686a633635153bd9210d36127267 /PKGBUILD
downloadaur-gtk3-libwinmenu.tar.gz
gtk3-libwinmenu: import from AUR Archive, fix PKGBUILD, change key, update to gtk3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..80cb61c979d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+pkgname=gtk3-libwinmenu
+pkgver=1
+pkgrel=1
+pkgdesc="Gtk+ module to hide menubar by default"
+arch=('i686' 'x86_64')
+url='http://www.linux.org.ru/jump-message.jsp?msgid=5606544&cid=5617512'
+license=('custom')
+depends=('gtk3')
+source=('libwinmenu.c' 'Makefile'
+ use_alt_left.patch
+ update_to_gtk3.patch)
+md5sums=('20a2e4823e8d2baf1e33de97335a040b' 'f90fd2c86b796a0c9d9e4a646539ec31'
+ d43683a6001d8032881f95ccf8dda5f4
+ f2bc0a86ed0d394a6e6725fc26010b44)
+install='libwinmenu.install'
+
+prepare() {
+ cd "$srcdir"
+ patch -Np1 --follow-symlinks -i use_alt_left.patch
+ patch -Np1 --follow-symlinks -i update_to_gtk3.patch
+}
+
+build() {
+ cd "$srcdir"
+ make
+}
+
+package() {
+ cd "$srcdir"
+ install -Dm755 libwinmenu.so "$pkgdir/usr/lib/gtk-3.0/modules/libwinmenu.so"
+}