mirror of
https://git.freebsd.org/ports.git
synced 2025-06-12 08:10:31 -04:00
17 lines
417 B
Text
17 lines
417 B
Text
path: "%%PREFIX%%/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders"
|
|
cleanup: {
|
|
type: lua
|
|
sandbox: false
|
|
script: <<EOS
|
|
print("Removing gdk-pixbuf cache directory")
|
|
os.remove("%%PREFIX%%/lib/gdk-pixbuf-2.0/%%GTK2_VERSION%%/loaders.cache")
|
|
EOS
|
|
}
|
|
trigger: {
|
|
type: lua
|
|
sandbox: false
|
|
script: <<EOS
|
|
print("Generating gdk-pixbuf modules cache")
|
|
pkg.exec({"%%PREFIX%%/bin/gdk-pixbuf-query-loaders", "--update-cache"})
|
|
EOS
|
|
}
|