You are not logged in.
Pages: 1
Hello
I'm trying to make a package to install with pacman for some fonts i downloaded. I looked at the Arch Wiki page called "Fonts" but i'm not sure exactly what to do still.
So i have a folder in home folder containing some TTF files. I know that I can simply put the files in the usr/share/fonts/TTF folder and they will work, but I really want to figure out how to make a package to install with pacman so that the font is logged into the pacman log so I have a list of everything that is installed.
Thanks for the help!
joe@trusktr.io - joe at true skater dot io.
Offline
Offline
I know nothing about creating a PKGBUILD, but if I were in your shoes, I would look at the numerous PKGBUILDs in AUR for other fonts, and start there - the ones I looked at seemed pretty straightforward...
Offline
http://wiki.archlinux.org/index.php/Creating_Packages
Read through that and look at the related pages too, then take a look at a PKGBUILD for an existing font package. The one for ttf-dejavu is simple.
*edit*
Also note the use of the install file for ttf-dejavu.
Last edited by Xyne (2010-03-02 06:11:08)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
How do I shot web ?
Offline
Awesome, thanks for the tips! I'm reading the article. The only problem is it's a matter of time! No more two click installs like in windows$. hehe
One thing i noticed is that the PKGBUILD file will follow similar steps to:
./configure
make
make install
I did not know this! Yesterday, for the first time ever, I used those exact steps to install a plugin for GIMP. Since I did it manually, pacman doesn't have this addition to my system catalogued. EDIT: Actually, I just found the package in the AUR!
How do I undo/uninstall the "configure-make-make-install" steps that I did so that I can install the package from the AUR instead?
Last edited by trusktr (2010-03-04 18:40:41)
joe@trusktr.io - joe at true skater dot io.
Offline
Offline
Awesome, thanks for the tips! I'm reading the article. The only problem is it's a matter of time! No more two click installs like in windows$. hehe
You're comparing compiling *and* installing a program to just installing. The process on windows would be more involved if you needed to compile. If said program were in arch's repositories or AUR, 1 command could do the same as the "2 click install". On that note, really, it's seldom that few clicks on windows; you have 15 "next" and "default directory" and "finish" and "accept" and "holy crap, yes, just do it!" screens to go through, along with whatever elevated permission boxes you might need to give permission to .
Yesterday, for the first time ever, I used those exact steps to install a plugin for GIMP. Since I did it manually, pacman doesn't have this addition to my system catalogued. EDIT: Actually, I just found the package in the AUR!
How do I undo/uninstall the "configure-make-make-install" steps that I did so that I can install the package from the AUR instead?
Some programs have "make uninstall". Otherwise, an easy way to do it.. is if the pkgbuild builds the program the same way you did, simply force the package to install, thus overwriting the very same files you would have compiled without makepkg/pacman. After you build it from AUR, just check the files it's overwriting by trying to install it with pacman and seeing what file conflicts it nags about. If they're not important, force pacman to overwrite them. You can find how to do this stuff in pacman's manual (man pacman) and the wiki post Alan refers to.
Last edited by FrozenFox (2010-03-04 19:23:22)
Offline
I put *a lot* of efforts in that, I hope you'll appreciate it.
http://omploader.org/tM3Braw
rofl... ...
ah.. uhhh
what a minute, that's evil.
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline
Pages: 1