New comment by lugubris on void-packages repository https://github.com/void-linux/void-packages/pull/14247#issuecomment-529330600 Comment: Danh Doan @ 2019-09-08 01:42 UTC: > Here is a working template: > ```sh > # Template file for 'materia-gtk-theme' > pkgname=materia-gtk-theme > version=20190831 > revision=1 > archs=noarch > wrksrc="materia-theme-${version}" > depends="gtk+3 gnome-themes-extra" > short_desc="Material Design theme for GNOME/GTK based desktop environments" > maintainer="Lugubris " > license="GPL-2.0-only" > homepage=https://github.com/nana-4/materia-theme > distfiles="https://github.com/nana-4/materia-theme/archive/v${version}.tar.gz" > checksum=7ab5423ecaef50d5e9cf94038f9a35a1bcb87e7b218edff316b4f92d4b7b8b67 > > do_install() { > vmkdir usr/share/themes > ./install.sh -d "${DESTDIR}/usr/share/themes" > } > ``` That didn't work, I had some problems with the tar command, current template works. relevant: https://www.xkcd.com/1168/ foo.tar has a directory bar so the structure is: foo.tar -bar --file1 --subdir1 --file2 .. When I extract foo.tar it creates a directory bar, like this: wrksrc -foo.tar -bar --file1 .. I want it to extract all contents of bar to wrksrc, like: wrksrc -foo.tar -file1 -subdir1 -file2 .. Currently I cd into bar and then run ./install which works so I guess its fine. -- Lugubris